Index: test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll |
=================================================================== |
--- test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll (revision 0) |
+++ test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll (revision 0) |
@@ -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 |
+} |