aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SimpleRegisterCoalescing.cpp
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
commitb92cd3ca9f6c4176aacfa16d05ac45dc2983f8fc (patch)
tree014501214afee7608719b34bc408ae10f3b20f4b /lib/CodeGen/SimpleRegisterCoalescing.cpp
parent0dd5fd980f4c89143bd4e19403cf550ab4dd38aa (diff)
downloadexternal_llvm-b92cd3ca9f6c4176aacfa16d05ac45dc2983f8fc.tar.gz
external_llvm-b92cd3ca9f6c4176aacfa16d05ac45dc2983f8fc.tar.bz2
external_llvm-b92cd3ca9f6c4176aacfa16d05ac45dc2983f8fc.zip
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/CodeGen/SimpleRegisterCoalescing.cpp')
-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;
}
}