Changes in directory llvm/lib/CodeGen:
VirtRegMap.cpp updated: 1.63 -> 1.64 --- Log message: When promoting a load to a reg-reg copy, where the load was a previous instruction folded with spill code, make sure the remove the load from the virt reg folded map. --- Diffs of the changes: (+1 -0) VirtRegMap.cpp | 1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.63 llvm/lib/CodeGen/VirtRegMap.cpp:1.64 --- llvm/lib/CodeGen/VirtRegMap.cpp:1.63 Mon May 1 16:16:03 2006 +++ llvm/lib/CodeGen/VirtRegMap.cpp Mon May 1 16:17:10 2006 @@ -712,6 +712,7 @@ NextMII = &MI; --NextMII; // backtrack to the copy. } + VRM.RemoveFromFoldedVirtMap(&MI); MBB.erase(&MI); goto ProcessNextInst; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits