summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-19 22:49:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-19 22:49:39 +0000
commitfee2d6937cf56a2018a0707f9ed2c9c02870df2b (patch)
tree014501214afee7608719b34bc408ae10f3b20f4b /lib
parent2ff7fd146159d97abe94391a33b4385abb06bbb0 (diff)
downloadllvm-fee2d6937cf56a2018a0707f9ed2c9c02870df2b.tar.gz
llvm-fee2d6937cf56a2018a0707f9ed2c9c02870df2b.tar.bz2
llvm-fee2d6937cf56a2018a0707f9ed2c9c02870df2b.tar.xz
Continue after removing the current MI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 2f4c8d3889..33061890c0 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;
}
}