llvm-6502/test/CodeGen/X86/inline-asm-fpstack2.ll
Rafael Espindola 1c3329f707 Fix PR4185.
Handle FpSET_ST0_80 being used when ST0 is still alive.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73850 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-21 12:02:51 +00:00

11 lines
257 B
LLVM

; RUN: llvm-as < %s | llc -march=x86 > %t
; RUN: grep {fld %%st(0)} %t
; PR4185
define void @test() {
return:
call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
ret void
}