aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-04 18:08:26 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-04 18:08:26 +0000
commitd4f788952d1a056f755ad2df52f6f73eb6d67cff (patch)
tree22e70e1a70030d4f5115469e39d10451f4f105b7 /llvm/lib/CodeGen/SplitKit.cpp
parentdb93ddb41b27e6c588ac6d7a1a247b4ef5e64bfc (diff)
downloadllvm-d4f788952d1a056f755ad2df52f6f73eb6d67cff.zip
llvm-d4f788952d1a056f755ad2df52f6f73eb6d67cff.tar.gz
llvm-d4f788952d1a056f755ad2df52f6f73eb6d67cff.tar.bz2
Tweak debug output. No functional changes.
llvm-svn: 127006
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r--llvm/lib/CodeGen/SplitKit.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp
index f16d033..4adf8f7 100644
--- a/llvm/lib/CodeGen/SplitKit.cpp
+++ b/llvm/lib/CodeGen/SplitKit.cpp
@@ -314,8 +314,6 @@ void SplitEditor::extendRange(unsigned RegIdx, SlotIndex Idx) {
// and we may need to create even more phi-defs to preserve VNInfo SSA form.
// Perform a search for all predecessor blocks where we know the dominating
// VNInfo. Insert phi-def VNInfos along the path back to IdxMBB.
- DEBUG(dbgs() << "\n Reaching defs for BB#" << IdxMBB->getNumber()
- << " at " << Idx << " in " << *LI << '\n');
// Initialize the live-out cache the first time it is needed.
if (LiveOutSeen.empty()) {
@@ -413,7 +411,6 @@ VNInfo *SplitEditor::updateSSA(unsigned RegIdx,
unsigned Changes;
do {
Changes = 0;
- DEBUG(dbgs() << " Iterating over " << LiveIn.size() << " blocks.\n");
// Propagate live-out values down the dominator tree, inserting phi-defs
// when necessary. Since LiveIn was created by a BFS, going backwards makes
// it more likely for us to visit immediate dominators before their
@@ -454,8 +451,6 @@ VNInfo *SplitEditor::updateSSA(unsigned RegIdx,
SlotIndex Start = LIS.getMBBStartIdx(MBB);
VNInfo *VNI = LI->getNextValue(Start, 0, LIS.getVNInfoAllocator());
VNI->setIsPHIDef(true);
- DEBUG(dbgs() << " - BB#" << MBB->getNumber()
- << " phi-def #" << VNI->id << " at " << Start << '\n');
// We no longer need LI to be live-in.
LiveIn.erase(LiveIn.begin()+(i-1));
// Blocks in LiveIn are either IdxMBB, or have a value live-through.
@@ -487,13 +482,9 @@ VNInfo *SplitEditor::updateSSA(unsigned RegIdx,
if (LOP.second != Node && LOP.first != IDomValue.first) {
++Changes;
LOP = IDomValue;
- DEBUG(dbgs() << " - BB#" << MBB->getNumber()
- << " idom valno #" << IDomValue.first->id
- << " from BB#" << IDom->getBlock()->getNumber() << '\n');
}
}
}
- DEBUG(dbgs() << " - made " << Changes << " changes.\n");
} while (Changes);
assert(IdxVNI && "Didn't find value for Idx");