diff options
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll b/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll new file mode 100644 index 0000000..561588d --- /dev/null +++ b/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll @@ -0,0 +1,13 @@ +; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s +; This tests that MC/asm header conversion is smooth +; +; CHECK: .syntax unified +; CHECK-NEXT: .eabi_attribute 20, 1 +; CHECK-NEXT: .eabi_attribute 21, 1 +; CHECK-NEXT: .eabi_attribute 23, 3 +; CHECK-NEXT: .eabi_attribute 24, 1 +; CHECK-NEXT: .eabi_attribute 25, 1 + +define i32 @f(i64 %z) { + ret i32 0 +} |