Don't print out pointer values in SUnit::dump().

llvm-svn: 150842
This commit is contained in:
Jakob Stoklund Olesen 2012-02-17 21:44:51 +00:00
parent a45b6e23d0
commit 4aa0e7c7c4

View File

@ -315,13 +315,12 @@ void SUnit::dumpAll(const ScheduleDAG *G) const {
case SDep::Output: dbgs() << "out "; break;
case SDep::Order: dbgs() << "ch "; break;
}
dbgs() << "#";
dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")";
dbgs() << "SU(" << I->getSUnit()->NodeNum << ")";
if (I->isArtificial())
dbgs() << " *";
dbgs() << ": Latency=" << I->getLatency();
if (I->isAssignedRegDep())
dbgs() << " Reg=" << PrintReg(I->getReg());
dbgs() << " Reg=" << PrintReg(I->getReg(), G->TRI);
dbgs() << "\n";
}
}
@ -336,8 +335,7 @@ void SUnit::dumpAll(const ScheduleDAG *G) const {
case SDep::Output: dbgs() << "out "; break;
case SDep::Order: dbgs() << "ch "; break;
}
dbgs() << "#";
dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")";
dbgs() << "SU(" << I->getSUnit()->NodeNum << ")";
if (I->isArtificial())
dbgs() << " *";
dbgs() << ": Latency=" << I->getLatency();