When sending stats output to stdout for grepping, don't emit normal
[oota-llvm.git] / test / CodeGen / X86 / constant-pool-remat-0.ll
1 ; RUN: llc < %s -march=x86-64 | grep LCPI | count 3
2 ; RUN: llc < %s -march=x86-64 -o /dev/null -stats  -info-output-file - | grep asm-printer | grep 6
3 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep LCPI | count 3
4 ; RUN: llc < %s -march=x86 -mattr=+sse2 -o /dev/null -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 = fmul float %a, 9.0
10   %m = call float @qux(float %n)
11   %o = fmul float %m, 9.0
12   ret float %o
13 }