diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 7d2473282e2..5c3b57fda51 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);