diff options
Diffstat (limited to 'test/MC/Mips')
-rw-r--r-- | test/MC/Mips/elf_st_other.ll | 3 | ||||
-rw-r--r-- | test/MC/Mips/elf_st_other.s | 26 |
2 files changed, 17 insertions, 12 deletions
diff --git a/test/MC/Mips/elf_st_other.ll b/test/MC/Mips/elf_st_other.ll index 31294c88f8..68cad48ffd 100644 --- a/test/MC/Mips/elf_st_other.ll +++ b/test/MC/Mips/elf_st_other.ll @@ -8,4 +8,5 @@ entry: ret i32 0 } -; CHECK: .mips_hack_stocg main, 128 +; CHECK: .set micromips +; CHECK: main: diff --git a/test/MC/Mips/elf_st_other.s b/test/MC/Mips/elf_st_other.s index 2d63288779..eb685c3760 100644 --- a/test/MC/Mips/elf_st_other.s +++ b/test/MC/Mips/elf_st_other.s @@ -1,13 +1,17 @@ // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s - .text - .globl main - .align 2 - .type main,@function - .set nomips16 # @main - .ent main - .mips_hack_stocg main, 128 -main: - -// CHECK: Name: main -// CHECK: Other: 128 + +.globl f1 +.set micromips +f1: + nop + +.globl f2 +.set nomicromips +f2: + nop + +// CHECK-LABEL: Name: f1 +// CHECK: Other: 128 +// CHECK-LABEL: Name: f2 +// CHECK: Other: 0 |