mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
373c6bdbc5
Handle FpSET_ST0_80 being used when ST0 is still alive. llvm-svn: 73850
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
|
|
}
|