summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit29e4c9192dd136a1acb25d0f1c33fe60d712e38f (patch)
tree60a68882c48370f8019c75c91b1d1ed694b1a30a /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
parent9801ba451a28b88cb5c71e69eebb0ab757169b0c (diff)
downloadbcm5719-llvm-29e4c9192dd136a1acb25d0f1c33fe60d712e38f.tar.gz
bcm5719-llvm-29e4c9192dd136a1acb25d0f1c33fe60d712e38f.zip
Continue after removing the current MI.
llvm-svn: 56372
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 2f4c8d38892..33061890c09 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -2310,6 +2310,7 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
if (isDead) {
li_->RemoveMachineInstrFromMaps(mii);
mii = mbbi->erase(mii);
+ continue;
}
}
OpenPOWER on IntegriCloud