forked from OSchip/llvm-project
Remove assertion. Not all use operands are reads.
llvm-svn: 150149
This commit is contained in:
parent
c8233cb740
commit
95d6edeba8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue