aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-09 04:39:48 +0000
committerLang Hames <lhames@gmail.com>2012-02-09 04:39:48 +0000
commit394d71271164b9268291a2f8be1190fd4138bb77 (patch)
tree291221e01c31d1002817d2394850e9dabd735596 /lib/CodeGen/LiveIntervalAnalysis.cpp
parentf7b96311d20dc19647833ec23fc6d7870b2ffb10 (diff)
Remove assertion. Not all use operands are reads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 7d2473282e..5c3b57fda5 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -940,9 +940,6 @@ void LiveIntervals::moveInstr(MachineBasicBlock::iterator insertPt,
if (!mop.isReg() || mop.getReg() == 0)
continue;
unsigned reg = mop.getReg();
- if (mop.isUse()) {
- assert(mop.readsReg());
- }
if (mop.readsReg() && !ecs.count(reg)) {
uses.insert(reg);