Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.218 -> 1.219 --- Log message: Dead live-in detection bug. --- Diffs of the changes: (+2 -2) LiveIntervalAnalysis.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.218 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.219 --- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.218 Wed Feb 28 20:05:35 2007 +++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Fri Mar 2 04:41:15 2007 @@ -938,11 +938,11 @@ if (JoinIntervals(DestInt, SrcInt)) { if (isDead) { // Result of the copy is dead. Propagate this property. - if (SrcStart == 0 && MRegisterInfo::isPhysicalRegister(SrcReg)) { + if (SrcStart == 0 && MRegisterInfo::isPhysicalRegister(repSrcReg)) { // Live-in to the function but dead. Remove it from MBB live-in set. // JoinIntervals may end up swapping the two intervals. MachineBasicBlock *MBB = CopyMI->getParent(); - MBB->removeLiveIn(SrcReg); + MBB->removeLiveIn(repSrcReg); } else { MachineInstr *SrcMI = getInstructionFromIndex(SrcStart); if (SrcMI) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits