From: Evan Cheng Date: Wed, 12 Mar 2008 00:14:07 +0000 (+0000) Subject: Set NextMII after issuing a physical register spill. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=17d5f5496c96236764fdf3e278cecca334c6d25e;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index cabc6badd8a..9e46c001bfa 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.