mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +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:
@@ -72,7 +72,6 @@ void RegClass::pushAllIGNodes()
|
|||||||
// Repeat this.
|
// Repeat this.
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
||||||
//get node with min spill cost
|
//get node with min spill cost
|
||||||
//
|
//
|
||||||
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
||||||
@@ -89,6 +88,7 @@ void RegClass::pushAllIGNodes()
|
|||||||
//
|
//
|
||||||
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
||||||
|
|
||||||
|
if (DEBUG_RA)
|
||||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||||
|
|
||||||
} while(NeedMoreSpills); // repeat until we have pushed all
|
} while(NeedMoreSpills); // repeat until we have pushed all
|
||||||
|
@@ -72,7 +72,6 @@ void RegClass::pushAllIGNodes()
|
|||||||
// Repeat this.
|
// Repeat this.
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
||||||
//get node with min spill cost
|
//get node with min spill cost
|
||||||
//
|
//
|
||||||
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
|
||||||
@@ -89,6 +88,7 @@ void RegClass::pushAllIGNodes()
|
|||||||
//
|
//
|
||||||
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
NeedMoreSpills = !pushUnconstrainedIGNodes();
|
||||||
|
|
||||||
|
if (DEBUG_RA)
|
||||||
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
|
||||||
|
|
||||||
} while(NeedMoreSpills); // repeat until we have pushed all
|
} while(NeedMoreSpills); // repeat until we have pushed all
|
||||||
|
Reference in New Issue
Block a user