tcl seems to hate |& for some reason.
[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 -mattr=+sse2 | grep LCPI | count 3
3 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -info-output-file - | grep asm-printer | grep 9
4
5 declare fastcc float @qux(float %y)
6
7 define fastcc float @array(float %a) {
8   %n = mul float %a, 9.0
9   %m = call fastcc float @qux(float %n)
10   %o = mul float %m, 9.0
11   ret float %o
12 }