Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.128 -> 1.129 --- Log message: LinearScanner hotspot. --- Diffs of the changes: (+2 -3) RegAllocLinearScan.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.128 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.129 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.128 Sun Aug 27 07:54:01 2006 +++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Tue Oct 24 09:35:25 2006 @@ -460,11 +460,10 @@ bool ConflictsWithFixed = false; for (unsigned i = 0, e = fixed_.size(); i != e; ++i) { - if (physReg == fixed_[i].first->reg || - RegAliases.count(fixed_[i].first->reg)) { + IntervalPtr &IP = fixed_[i]; + if (physReg == IP.first->reg || RegAliases.count(IP.first->reg)) { // Okay, this reg is on the fixed list. Check to see if we actually // conflict. - IntervalPtr &IP = fixed_[i]; LiveInterval *I = IP.first; if (I->endNumber() > StartPosition) { LiveInterval::iterator II = I->advanceTo(IP.second, StartPosition); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits