blob: 17945fe4149e82d24c0aa71291de5633c682477b [file] [log] [blame]
Shih-wei Liaoe264f622010-02-10 11:10:31 -08001; RUN: llc < %s -march=x86 > %t
2; RUN: grep {fld %%st(0)} %t
3; PR4459
4
5declare x86_fp80 @ceil(x86_fp80)
6
7declare void @test(x86_fp80)
8
9define void @test2(x86_fp80 %a) {
10entry:
11 %0 = call x86_fp80 @ceil(x86_fp80 %a)
12 call void asm sideeffect "fistpl $0", "{st}"( x86_fp80 %0)
13 call void @test(x86_fp80 %0 )
14 ret void
15}