diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-15 22:45:51 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-15 22:45:51 +0000 |
commit | cc72913268ccf5e0fb2785496a1dee764ecce5ff (patch) | |
tree | b89ec2195a960e43317861a9f7d763af84bf814d /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 39c4cd31805f34d9535fe9d8004fa566f480e5f4 (diff) |
Fix assertion condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 5e721bc4fc..a8aa21a96a 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -970,7 +970,7 @@ void LiveIntervals::handleMove(MachineInstr *mi) { MachineBasicBlock* mbb = mi->getParent(); - assert(getMBBFromIndex(origIdx) == mbb && + assert(getMBBStartIdx(mbb) <= origIdx && origIdx < getMBBEndIdx(mbb) && "Cannot handle moves across basic block boundaries."); assert(!mi->isBundled() && "Can't handle bundled instructions yet."); |