mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Get rid of calls to void llvm::printSet(const ValueSet &).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db7c40db10
commit
a308f80155
@ -157,9 +157,7 @@ void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *LR1,
|
||||
assertIGNode(this, SrcNode);
|
||||
|
||||
if( DEBUG_RA >= RA_DEBUG_Interference) {
|
||||
std::cerr << "Merging LRs: \""; printSet(*LR1);
|
||||
std::cerr << "\" and \""; printSet(*LR2);
|
||||
std::cerr << "\"\n";
|
||||
std::cerr << "Merging LRs: \"" << *LR1 << "\" and \"" << *LR2 << "\"\n";
|
||||
}
|
||||
|
||||
unsigned SrcDegree = SrcNode->getNumOfNeighbors();
|
||||
@ -240,13 +238,9 @@ void InterferenceGraph::printIG() const {
|
||||
void InterferenceGraph::printIGNodeList() const {
|
||||
for(unsigned i=0; i < IGNodeList.size() ; ++i) {
|
||||
const IGNode *const Node = IGNodeList[i];
|
||||
|
||||
if (Node) {
|
||||
std::cerr << " [" << Node->getIndex() << "] ";
|
||||
printSet(*Node->getParentLR());
|
||||
//int Deg = Node->getCurDegree();
|
||||
std::cerr << "\t <# of Neighs: " << Node->getNumOfNeighbors() << ">\n";
|
||||
}
|
||||
if (Node)
|
||||
std::cerr << " [" << Node->getIndex() << "] " << *Node->getParentLR()
|
||||
<< "\t <# of Neighbors: " << Node->getNumOfNeighbors() << ">\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -175,22 +175,17 @@ void PhyRegAlloc::setCallInterferences(const MachineInstr *MInst,
|
||||
LIt != LEnd; ++LIt) {
|
||||
|
||||
// get the live range corresponding to live var
|
||||
LiveRange *const LR = LRI->getLiveRangeForValue(*LIt );
|
||||
LiveRange *const LR = LRI->getLiveRangeForValue(*LIt);
|
||||
|
||||
// LR can be null if it is a const since a const
|
||||
// doesn't have a dominating def - see Assumptions above
|
||||
if (LR ) {
|
||||
if (DEBUG_RA >= RA_DEBUG_Interference) {
|
||||
std::cerr << "\n\tLR after Call: ";
|
||||
printSet(*LR);
|
||||
}
|
||||
if (LR) {
|
||||
if (DEBUG_RA >= RA_DEBUG_Interference)
|
||||
std::cerr << "\n\tLR after Call: " << *LR << "\n";
|
||||
LR->setCallInterference();
|
||||
if (DEBUG_RA >= RA_DEBUG_Interference) {
|
||||
std::cerr << "\n ++After adding call interference for LR: " ;
|
||||
printSet(*LR);
|
||||
}
|
||||
if (DEBUG_RA >= RA_DEBUG_Interference)
|
||||
std::cerr << "\n ++After adding call interference for LR: " << *LR << "\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Now find the LR of the return value of the call
|
||||
|
Loading…
Reference in New Issue
Block a user