Perform this loop only when the -debug flag is specified.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2008-12-19 02:09:57 +00:00
parent 1385758215
commit bebbded574

View File

@@ -2283,11 +2283,13 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
// Join (coalesce) intervals if requested. // Join (coalesce) intervals if requested.
if (EnableJoining) { if (EnableJoining) {
joinIntervals(); joinIntervals();
DOUT << "********** INTERVALS POST JOINING **********\n"; DEBUG({
for (LiveIntervals::iterator I = li_->begin(), E = li_->end(); I != E; ++I){ DOUT << "********** INTERVALS POST JOINING **********\n";
I->second->print(DOUT, tri_); for (LiveIntervals::iterator I = li_->begin(), E = li_->end(); I != E; ++I){
DOUT << "\n"; I->second->print(DOUT, tri_);
} DOUT << "\n";
}
});
} }
// Perform a final pass over the instructions and compute spill weights // Perform a final pass over the instructions and compute spill weights