blob: bae2970db4abc278c67b792212b05d1700d4d45e [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86
Rafael Espindola0b3b53a2009-06-30 12:18:16 +00002; PR4484
3
4declare x86_fp80 @ceil()
5
6declare void @test(x86_fp80)
7
8define void @test2(x86_fp80 %a) {
9entry:
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