Changes in directory llvm/lib/CodeGen:
VirtRegMap.cpp updated: 1.53 -> 1.54 --- Log message: Handle another case exposed on X86. --- Diffs of the changes: (+4 -0) VirtRegMap.cpp | 4 ++++ 1 files changed, 4 insertions(+) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.53 llvm/lib/CodeGen/VirtRegMap.cpp:1.54 --- llvm/lib/CodeGen/VirtRegMap.cpp:1.53 Fri Feb 3 17:28:46 2006 +++ llvm/lib/CodeGen/VirtRegMap.cpp Fri Feb 3 17:50:46 2006 @@ -274,6 +274,10 @@ /// specified physreg. If CanClobber is true, the physreg can be modified at /// any time without changing the semantics of the program. void addAvailable(int Slot, unsigned Reg, bool CanClobber = true) { + // If this stack slot is thought to be available in some other physreg, + // remove its record. + ModifyStackSlot(Slot); + PhysRegsAvailable.insert(std::make_pair(Reg, Slot)); SpillSlotsAvailable[Slot] = (Reg << 1) | CanClobber; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits