Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / inline-asm-fpstack2.ll
1 ; RUN: llc < %s -march=x86 > %t
2 ; RUN: grep {fld        %%st(0)} %t
3 ; PR4185
4
5 define void @test() {
6 return:
7         call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
8         call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
9         ret void
10 }