blob: c9122fad6cf77cbd4f5a6664c14741c3311c943d [file] [log] [blame]
Rafael Espindolacabaa942009-06-30 16:40:03 +00001; RUN: llvm-as < %s | llc -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