aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/constant-pool-remat-0.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-05 17:24:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-05 17:24:07 +0000
commite2471a9169b23cf13a7e81a6ba35fa2675d320ad (patch)
treee375e38bb17450d92118a570b2b98d85a4c97fde /test/CodeGen/X86/constant-pool-remat-0.ll
parentc89d2feb35560883688e43b553b8e94e7cd371de (diff)
downloadexternal_llvm-e2471a9169b23cf13a7e81a6ba35fa2675d320ad.zip
external_llvm-e2471a9169b23cf13a7e81a6ba35fa2675d320ad.tar.gz
external_llvm-e2471a9169b23cf13a7e81a6ba35fa2675d320ad.tar.bz2
If SSE2 is available, x86 should pass first 3 f32/f64 arguments in XMM registers for fastcc calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/constant-pool-remat-0.ll')
-rw-r--r--test/CodeGen/X86/constant-pool-remat-0.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/constant-pool-remat-0.ll b/test/CodeGen/X86/constant-pool-remat-0.ll
index 144d442..40caaa6 100644
--- a/test/CodeGen/X86/constant-pool-remat-0.ll
+++ b/test/CodeGen/X86/constant-pool-remat-0.ll
@@ -1,13 +1,13 @@
; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | count 3
; RUN: llvm-as < %s | llc -march=x86-64 -stats -info-output-file - | grep asm-printer | grep 6
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | count 3
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -info-output-file - | grep asm-printer | grep 8
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -info-output-file - | grep asm-printer | grep 12
-declare fastcc float @qux(float %y)
+declare float @qux(float %y)
-define fastcc float @array(float %a) nounwind {
+define float @array(float %a) nounwind {
%n = mul float %a, 9.0
- %m = call fastcc float @qux(float %n)
+ %m = call float @qux(float %n)
%o = mul float %m, 9.0
ret float %o
}