1 ; RUN: llc < %s -march=x86 | FileCheck %s
4 ; ceil leaves a value on the stack that is needed after the asm.
7 ; Load %a from stack after ceil
12 ; Set up call to test.
15 define void @test2(x86_fp80 %a) {
17 %0 = call x86_fp80 @ceil()
18 call void asm sideeffect "fistpl $0", "{st},~{st}"(x86_fp80 %a)
19 call void @test(x86_fp80 %0)
23 declare x86_fp80 @ceil()
24 declare void @test(x86_fp80)