diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-08-29 22:01:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-08-29 22:01:39 +0000 |
commit | bb0a23a13794fbd4f27dedc34a534f62bed616f8 (patch) | |
tree | 8c0ba20c69cf708c72e805fa03369ec2d2462e89 /test/CodeGen/X86/fabs.ll | |
parent | e091c8ba72552cd41bc13c4d9cfc97db1fde6107 (diff) |
This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fabs.ll')
-rw-r--r-- | test/CodeGen/X86/fabs.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fabs.ll b/test/CodeGen/X86/fabs.ll index 9bbd9fdaf01..68f892fa993 100644 --- a/test/CodeGen/X86/fabs.ll +++ b/test/CodeGen/X86/fabs.ll @@ -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) { |