llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
Jason W Kim afd1cc2578 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
2010-09-30 02:45:56 +00:00

14 lines
361 B
LLVM

; 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
}