blob: 17945fe4149e82d24c0aa71291de5633c682477b [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 > %t
Rafael Espindola6d7e76f2009-06-29 20:29:59 +00002; 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}