From: Evan Cheng Date: Fri, 19 Sep 2008 22:49:39 +0000 (+0000) Subject: Continue after removing the current MI. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fee2d6937cf56a2018a0707f9ed2c9c02870df2b;p=oota-llvm.git Continue after removing the current MI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56372 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index 2f4c8d38892..33061890c09 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -2310,6 +2310,7 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) { if (isDead) { li_->RemoveMachineInstrFromMaps(mii); mii = mbbi->erase(mii); + continue; } }