mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-12 07:22:12 +00:00
d11fee0082
EABI attributes should only be emitted on EABI targets. This prevents the emission of the optimization goals EABI attribute on Windows ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255448 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
337 B
LLVM
11 lines
337 B
LLVM
; RUN: llc -O3 -mtriple thumbv7-windows %s -filetype asm -o - | FileCheck -check-prefix CHECK-NONEABI %s
|
|
; RUN: llc -O3 -mtriple armv7--linux-gnueabi %s -filetype asm -o - | FileCheck -check-prefix CHECK-EABI %s
|
|
|
|
define arm_aapcs_vfpcc void @function() {
|
|
ret void
|
|
}
|
|
|
|
; CHECK-EABI: .eabi_attribute
|
|
; CHECK-NONEABI-NOT: .eabi_attribute
|
|
|