[llvm-commits] [llvm] r48263 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

Evan Cheng evan.cheng at apple.com
Tue Mar 11 17:14:08 PDT 2008


Author: evancheng
Date: Tue Mar 11 19:14:07 2008
New Revision: 48263

URL: http://llvm.org/viewvc/llvm-project?rev=48263&view=rev
Log:
Set NextMII after issuing a physical register spill.

Modified:
    llvm/trunk/lib/CodeGen/VirtRegMap.cpp

Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegMap.cpp?rev=48263&r1=48262&r2=48263&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/VirtRegMap.cpp (original)
+++ llvm/trunk/lib/CodeGen/VirtRegMap.cpp Tue Mar 11 19:14:07 2008
@@ -1082,6 +1082,7 @@
         VRM.addSpillSlotUse(SS, LoadMI);
         ++NumPSpills;
       }
+      NextMII = next(MII);
     }
 
     // Insert restores here if asked to.





More information about the llvm-commits mailing list