mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Fix bug in previous checkin
llvm-svn: 14146
This commit is contained in:
parent
7d8093efb1
commit
f78e3e7f63
@ -638,6 +638,9 @@ void FPS::handleCompareFP(MachineBasicBlock::iterator &I) {
|
||||
// anywhere.
|
||||
moveToTop(Op0, I);
|
||||
|
||||
MI->getOperand(0).setReg(getSTReg(Op1));
|
||||
MI->RemoveOperand(1);
|
||||
|
||||
// If any of the operands are killed by this instruction, free them.
|
||||
if (KillsOp0) freeStackSlotAfter(I, Op0);
|
||||
if (KillsOp1 && Op0 != Op1) freeStackSlotAfter(I, Op1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user