1 ; RUN: llc < %s -march=x86 | FileCheck %s
4 ; The return value from ceil must be duped before being consumed by asm.
12 define void @test2(x86_fp80 %a) {
14 %0 = call x86_fp80 @ceil(x86_fp80 %a)
15 call void asm sideeffect "fistpl $0", "{st}"( x86_fp80 %0)
16 call void @test(x86_fp80 %0 )
19 declare x86_fp80 @ceil(x86_fp80)
20 declare void @test(x86_fp80)