[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Jim Laskey
jlaskey at apple.com
Tue Oct 24 07:35:39 PDT 2006
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);
More information about the llvm-commits
mailing list