If SSE2 is available, x86 should pass first 3 f32/f64 arguments in XMM registers...
[oota-llvm.git] / test / CodeGen / X86 / constant-pool-remat-0.ll
1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | count 3
2 ; RUN: llvm-as < %s | llc -march=x86-64 -stats  -info-output-file - | grep asm-printer | grep 6
3 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | count 3
4 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats  -info-output-file - | grep asm-printer | grep 12
5
6 declare float @qux(float %y)
7
8 define float @array(float %a) nounwind {
9   %n = mul float %a, 9.0
10   %m = call float @qux(float %n)
11   %o = mul float %m, 9.0
12   ret float %o
13 }