diff options
Diffstat (limited to 'test/CodeGen/Mips/micromips-ase-function-attribute.ll')
| -rw-r--r-- | test/CodeGen/Mips/micromips-ase-function-attribute.ll | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/micromips-ase-function-attribute.ll b/test/CodeGen/Mips/micromips-ase-function-attribute.ll new file mode 100644 index 000000000000..bbb6ff56ea9e --- /dev/null +++ b/test/CodeGen/Mips/micromips-ase-function-attribute.ll @@ -0,0 +1,11 @@ +; RUN: llc -mtriple=mips-unknown-linux -filetype=obj %s -o - | \ +; RUN:   llvm-readobj -mips-abi-flags | \ +; RUN:   FileCheck --check-prefix=ASE-MICROMIPS %s + +define void @_Z3foov() #0 { +entry: +  ret void +} +attributes #0 = { "micromips" } + +; ASE-MICROMIPS: microMIPS (0x800)  | 
