projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c4cd3
)
Fix assertion condition.
author
Lang Hames
<lhames@gmail.com>
Wed, 15 Feb 2012 22:45:51 +0000
(22:45 +0000)
committer
Lang Hames
<lhames@gmail.com>
Wed, 15 Feb 2012 22:45:51 +0000
(22:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150627
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 5e721bc4fc09badefeb42325f57b9f85f128a1e4..a8aa21a96aea6814a508e7c3b648d6f3d840f3c6 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-970,7
+970,7
@@
void LiveIntervals::handleMove(MachineInstr *mi) {
MachineBasicBlock* mbb = mi->getParent();
- assert(getMBB
FromIndex(origIdx) == mbb
&&
+ assert(getMBB
StartIdx(mbb) <= origIdx && origIdx < getMBBEndIdx(mbb)
&&
"Cannot handle moves across basic block boundaries.");
assert(!mi->isBundled() && "Can't handle bundled instructions yet.");