Continue after removing the current MI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-09-19 22:49:39 +00:00
parent 2ff7fd1461
commit fee2d6937c

View File

@ -2310,6 +2310,7 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
if (isDead) {
li_->RemoveMachineInstrFromMaps(mii);
mii = mbbi->erase(mii);
continue;
}
}