[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Mon Apr 2 23:44:42 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.cpp updated: 1.18 -> 1.19
---
Log message:
Inverted logic.
---
Diffs of the changes: (+1 -1)
ARMInstrInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMInstrInfo.cpp
diff -u llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.18 llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.19
--- llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.18 Mon Mar 26 17:41:48 2007
+++ llvm/lib/Target/ARM/ARMInstrInfo.cpp Tue Apr 3 01:44:25 2007
@@ -279,7 +279,7 @@
// 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))
More information about the llvm-commits
mailing list