[llvm-commits] [llvm] r95811 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Dale Johannesen
dalej at apple.com
Wed Feb 10 13:41:41 PST 2010
Author: johannes
Date: Wed Feb 10 15:41:41 2010
New Revision: 95811
URL: http://llvm.org/viewvc/llvm-project?rev=95811&view=rev
Log:
When I rewrote this loop per Chris' preference I
changed its behavior. Oops.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=95811&r1=95810&r2=95811&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Wed Feb 10 15:41:41 2010
@@ -613,6 +613,9 @@
while (mi != E) {
if (mi->isDebugValue()) {
++mi;
+ if (mi != E && !mi->isDebugValue()) {
+ baseIndex = indexes_->getNextNonNullIndex(baseIndex);
+ }
continue;
}
if (mi->killsRegister(interval.reg, tri_)) {
More information about the llvm-commits
mailing list