Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / inline-asm-fpstack4.ll
1 ; RUN: llc < %s -march=x86
2 ; PR4484
3
4 declare x86_fp80 @ceil()
5
6 declare void @test(x86_fp80)
7
8 define void @test2(x86_fp80 %a) {
9 entry:
10         %0 = call x86_fp80 @ceil()
11         call void asm sideeffect "fistpl $0", "{st},~{st}"(x86_fp80 %a)
12         call void @test(x86_fp80 %0)
13         ret void
14 }
15