[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon Apr 12 15:27:13 PDT 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervals.cpp updated: 1.69 -> 1.70
---
Log message:
Fix bug introduced in previous commit.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.69 llvm/lib/CodeGen/LiveIntervals.cpp:1.70
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.69 Mon Apr 12 12:39:20 2004
+++ llvm/lib/CodeGen/LiveIntervals.cpp Mon Apr 12 15:26:39 2004
@@ -138,7 +138,7 @@
if (tii.isMoveInstr(*mii, srcReg, dstReg) &&
rep(srcReg) == rep(dstReg)) {
// remove from def list
- Interval& interval = getOrCreateInterval(dstReg);
+ Interval& interval = getOrCreateInterval(rep(dstReg));
unsigned defIndex = getInstructionIndex(mii);
Interval::Defs::iterator d = std::lower_bound(
interval.defs.begin(), interval.defs.end(), defIndex);
More information about the llvm-commits
mailing list