mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
1c3329f707
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
11 lines
257 B
LLVM
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
|
|
}
|