aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-12 00:14:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-12 00:14:07 +0000
commit17d5f5496c96236764fdf3e278cecca334c6d25e (patch)
treeaf39d7278aa1ada1b56eec2f6de911cc4892b124
parent8f9b551147c928c216de5e693ecc433015ab531a (diff)
Set NextMII after issuing a physical register spill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/VirtRegMap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index cabc6badd8..9e46c001bf 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/lib/CodeGen/VirtRegMap.cpp
@@ -1082,6 +1082,7 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM) {
VRM.addSpillSlotUse(SS, LoadMI);
++NumPSpills;
}
+ NextMII = next(MII);
}
// Insert restores here if asked to.