This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.

llvm-svn: 29964
This commit is contained in:
Evan Cheng 2006-08-29 22:01:39 +00:00
parent 65c4409e63
commit 8dd79a4c14
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 -enable-unsafe-fp-math | grep 'fabs$' | wc -l | grep 2
target endian = little
target pointersize = 32
declare float %fabsf(float)
float %fabsftest(float %X) {