mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Inverted logic.
llvm-svn: 35619
This commit is contained in:
parent
bad40843ec
commit
16696f0ad8
@ -279,7 +279,7 @@ ARMInstrInfo::convertToThreeAddress(MachineFunction::iterator &MFI,
|
||||
// Look at the two new MI's in reverse order.
|
||||
MachineInstr *NewMI = NewMIs[j];
|
||||
int NIdx = NewMI->findRegisterUseOperand(Reg);
|
||||
if (NIdx != -1)
|
||||
if (NIdx == -1)
|
||||
continue;
|
||||
LV.addVirtualRegisterKilled(Reg, NewMI);
|
||||
if (VI.removeKill(MI))
|
||||
|
Loading…
x
Reference in New Issue
Block a user