commit | 9abc0488e982bf5cc2295ea9675ce66eda6999fb | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Wed Feb 10 21:41:41 2010 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Wed Feb 10 21:41:41 2010 +0000 |
tree | fb9364e13e11a38fbc3dd92ec69302d6a04eab3b | |
parent | e3ad4b104bdb3dbc21c74255c5e6b70215340ee7 [diff] [blame] |
When I rewrote this loop per Chris' preference I changed its behavior. Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95811 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 432409a..f6bf433 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -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_)) {