blob: 24a63537fcf8734720de3743cd1ab23140884ea1 [file] [log] [blame]
Rafael Espindola0b3b53a2009-06-30 12:18:16 +00001; RUN: llvm-as < %s | llc -march=x86 > %t
2; 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