Continue after removing the current MI.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 19 Sep 2008 22:49:39 +0000 (22:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 19 Sep 2008 22:49:39 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56372 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SimpleRegisterCoalescing.cpp

index 2f4c8d38892759c1372b4533af34716ee9f0397d..33061890c09502a580b16c4378b8f9ca68b385d6 100644 (file)
@@ -2310,6 +2310,7 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
         if (isDead) {
           li_->RemoveMachineInstrFromMaps(mii);
           mii = mbbi->erase(mii);
+          continue;
         }
       }