aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-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);