diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-03 06:44:25 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-03 06:44:25 +0000 |
commit | 3c5ad82ba2b4c1ebbed7f1c4594c245f57ae08e0 (patch) | |
tree | 4a5c54bd3519b6f2fce102cd6dcbb3d390619e65 | |
parent | 595b6d121cbbae3f58e508ae928b4ed917e686b6 (diff) |
Inverted logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35619 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp index b630fcb1dc..6058be114e 100644 --- a/lib/Target/ARM/ARMInstrInfo.cpp +++ b/lib/Target/ARM/ARMInstrInfo.cpp @@ -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)) |