diff options
author | Jason W Kim <jason.w.kim.2009@gmail.com> | 2010-09-30 02:45:56 +0000 |
---|---|---|
committer | Jason W Kim <jason.w.kim.2009@gmail.com> | 2010-09-30 02:45:56 +0000 |
commit | afd1cc25786f68ca56a63d29ea2bd297990e9f81 (patch) | |
tree | 2b1302e57d7293dd378a26337a3c6184adc21040 /test/CodeGen/ARM | |
parent | 12ad94e03c46c3bba44756bc052e08d6c4341b3d (diff) | |
download | external_llvm-afd1cc25786f68ca56a63d29ea2bd297990e9f81.zip external_llvm-afd1cc25786f68ca56a63d29ea2bd297990e9f81.tar.gz external_llvm-afd1cc25786f68ca56a63d29ea2bd297990e9f81.tar.bz2 |
Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile()
Small test for sanity check of resulting ARM .s file.
Tested against -r115129.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-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 +} |