[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Jan 13 18:10:01 PST 2004
Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.27 -> 1.28
---
Log message:
Improve debugging output.
---
Diffs of the changes: (+3 -2)
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.27 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.28
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.27 Tue Jan 13 14:42:08 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Tue Jan 13 18:09:36 2004
@@ -251,7 +251,7 @@
fixed_.erase(fixed_.begin());
}
- DEBUG(std::cerr << "processing current interval: " << *cur << '\n');
+ DEBUG(std::cerr << *cur << '\n');
processActiveIntervals(cur);
processInactiveIntervals(cur);
@@ -571,10 +571,11 @@
if (cur->weight < minWeight) {
restoreRegUse();
- DEBUG(std::cerr << "\t\t\t\tspilling : " << *cur << '\n');
+ DEBUG(std::cerr << "\t\t\t\tspilling: " << *cur << '\n');
assignVirt2StackSlot(cur->reg);
}
else {
+ DEBUG(std::cerr << "\t\t\t\tfreeing: " << mri_->getName(minReg) << '\n');
std::set<unsigned> toSpill;
toSpill.insert(minReg);
for (const unsigned* as = mri_->getAliasSet(minReg); *as; ++as)
More information about the llvm-commits
mailing list