llvm-6502/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
Jason W Kim f009a961ca Rework some .ARM.attribute work for improved gcc compatibility.
Unified EmitTextAttribute for both Asm and Obj emission (.cpu only)
Added necessary cortex-A8 related attrs for codegen compat tests.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124995 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-07 00:49:53 +00:00

14 lines
336 B
LLVM

; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
; This tests that MC/asm header conversion is smooth
;
; CHECK: .syntax unified
; CHECK: .eabi_attribute 20, 1
; CHECK: .eabi_attribute 21, 1
; CHECK: .eabi_attribute 23, 3
; CHECK: .eabi_attribute 24, 1
; CHECK: .eabi_attribute 25, 1
define i32 @f(i64 %z) {
ret i32 0
}