From 17d5f5496c96236764fdf3e278cecca334c6d25e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 12 Mar 2008 00:14:07 +0000 Subject: [PATCH] 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 --- lib/CodeGen/VirtRegMap.cpp | 1 + 1 file changed, 1 insertion(+) 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.