diff --git a/test/MC/Mips/elf_basic.s b/test/MC/Mips/elf_basic.s index 46211823b66..f7ed348b1bd 100644 --- a/test/MC/Mips/elf_basic.s +++ b/test/MC/Mips/elf_basic.s @@ -1,7 +1,7 @@ -; RUN: llc -filetype=obj -mtriple mips-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-BE %s -; RUN: llc -filetype=obj -mtriple mipsel-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-LE %s +// RUN: llvm-mc -filetype=obj -triple mips-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-BE %s +// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-LE %s -; Check that we produce the correct endian. +// Check that we produce the correct endian. -; CHECK-BE: ('e_indent[EI_DATA]', 0x02) -; CHECK-LE: ('e_indent[EI_DATA]', 0x01) +// CHECK-BE: ('e_indent[EI_DATA]', 0x02) +// CHECK-LE: ('e_indent[EI_DATA]', 0x01)