mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
disable a bogus assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1022,8 +1022,8 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
|
|||||||
MachineOperand &Op = MI->getOperand(i);
|
MachineOperand &Op = MI->getOperand(i);
|
||||||
if (!Op.isReg() || Op.getReg() < X86::FP0 || Op.getReg() > X86::FP6)
|
if (!Op.isReg() || Op.getReg() < X86::FP0 || Op.getReg() > X86::FP6)
|
||||||
continue;
|
continue;
|
||||||
assert(Op.isUse() && Op.isKill() &&
|
// assert(Op.isUse() && Op.isKill() &&
|
||||||
"Ret only defs operands, and values aren't live beyond it");
|
// "Ret only defs operands, and values aren't live beyond it");
|
||||||
|
|
||||||
if (FirstFPRegOp == ~0U)
|
if (FirstFPRegOp == ~0U)
|
||||||
FirstFPRegOp = getFPReg(Op);
|
FirstFPRegOp = getFPReg(Op);
|
||||||
|
@@ -9,3 +9,13 @@ define {x86_fp80, x86_fp80} @test() {
|
|||||||
ret x86_fp80 %A, x86_fp80 %B
|
ret x86_fp80 %A, x86_fp80 %B
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
;_test2:
|
||||||
|
; fld1
|
||||||
|
; fld %st(0)
|
||||||
|
; ret
|
||||||
|
define {x86_fp80, x86_fp80} @test2() {
|
||||||
|
%A = fpext double 1.0 to x86_fp80
|
||||||
|
ret x86_fp80 %A, x86_fp80 %A
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user