[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jan 31 20:22:02 PST 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervals.cpp updated: 1.40 -> 1.41
---
Log message:
Missed one silly assert :-)
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.40 llvm/lib/CodeGen/LiveIntervals.cpp:1.41
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.40 Sat Jan 31 20:18:31 2004
+++ llvm/lib/CodeGen/LiveIntervals.cpp Sat Jan 31 20:21:31 2004
@@ -401,7 +401,7 @@
assert(MRegisterInfo::isPhysicalRegister(intA->reg) &&
MRegisterInfo::isVirtualRegister(intB->reg) &&
"A must be physical and B must be virtual");
- assert(intA->reg != intB->reg);
+
if (!intA->overlaps(*intB) &&
!overlapsAliases(*intA, *intB)) {
intA->join(*intB);
More information about the llvm-commits
mailing list