Update test case. A spill should now be deleted.
[oota-llvm.git] / test / CodeGen / X86 / constant-pool-remat-0.ll
1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | wc -l | grep 3
2 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | wc -l | grep 3
3 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats |& | grep asm-printer | grep 13
4
5 declare float @qux(float %y)
6
7 define float @array(float %a) {
8   %n = mul float %a, 9.0
9   %m = call float @qux(float %n)
10   %o = mul float %m, 9.0
11   ret float %o
12 }