[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jun 29 02:17:01 PDT 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervals.cpp updated: 1.80 -> 1.81
---
Log message:
In line with the previous patch, do not assert out if analyzing a dead basic block.
---
Diffs of the changes: (+4 -1)
Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.80 llvm/lib/CodeGen/LiveIntervals.cpp:1.81
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.80 Tue Jun 29 01:56:51 2004
+++ llvm/lib/CodeGen/LiveIntervals.cpp Tue Jun 29 02:16:23 2004
@@ -368,8 +368,11 @@
}
}
+ // LiveVariables does not compute information for dead basic blocks.
+ DEBUG(std::cerr << "Didn't find the end of the interval. Must be in a "
+ "dead block.");
+ end = getDefIndex(start)+1;
exit:
- assert(start < end && "did not find end of interval?");
interval.addRange(start, end);
DEBUG(std::cerr << '\n');
}
More information about the llvm-commits
mailing list