mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Only emit message if DEBUG_RA is on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d70cd9607
commit
167b9629e1
@ -71,15 +71,14 @@ void RegClass::pushAllIGNodes()
|
||||
// spill cost) and try to push the others as unConstrained nodes.
|
||||
// Repeat this.
|
||||
|
||||
do{
|
||||
|
||||
do {
|
||||
//get node with min spill cost
|
||||
//
|
||||
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
||||
|
||||
// push that node on to stack
|
||||
//
|
||||
IGNodeStack.push( IGNodeSpill );
|
||||
IGNodeStack.push(IGNodeSpill);
|
||||
|
||||
// set its OnStack flag and decrement degree of neighs
|
||||
//
|
||||
@ -87,11 +86,12 @@ void RegClass::pushAllIGNodes()
|
||||
|
||||
// now push NON-constrined ones, if any
|
||||
//
|
||||
NeedMoreSpills = ! pushUnconstrainedIGNodes();
|
||||
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
||||
|
||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||
if (DEBUG_RA)
|
||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||
|
||||
} while( NeedMoreSpills ); // repeat until we have pushed all
|
||||
} while(NeedMoreSpills); // repeat until we have pushed all
|
||||
|
||||
}
|
||||
|
||||
|
@ -71,15 +71,14 @@ void RegClass::pushAllIGNodes()
|
||||
// spill cost) and try to push the others as unConstrained nodes.
|
||||
// Repeat this.
|
||||
|
||||
do{
|
||||
|
||||
do {
|
||||
//get node with min spill cost
|
||||
//
|
||||
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
||||
|
||||
// push that node on to stack
|
||||
//
|
||||
IGNodeStack.push( IGNodeSpill );
|
||||
IGNodeStack.push(IGNodeSpill);
|
||||
|
||||
// set its OnStack flag and decrement degree of neighs
|
||||
//
|
||||
@ -87,11 +86,12 @@ void RegClass::pushAllIGNodes()
|
||||
|
||||
// now push NON-constrined ones, if any
|
||||
//
|
||||
NeedMoreSpills = ! pushUnconstrainedIGNodes();
|
||||
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
||||
|
||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||
if (DEBUG_RA)
|
||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||
|
||||
} while( NeedMoreSpills ); // repeat until we have pushed all
|
||||
} while(NeedMoreSpills); // repeat until we have pushed all
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user