diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-09 06:55:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-09 06:55:15 +0000 |
commit | 2c74848af1b26a82e55a69b386b9ce82e154f81b (patch) | |
tree | 2f32abcdfa0037ff103d779d309c63be56424161 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | fc532fe1b7bb43a47243f511da8f10426e609670 (diff) | |
download | bcm5719-llvm-2c74848af1b26a82e55a69b386b9ce82e154f81b.tar.gz bcm5719-llvm-2c74848af1b26a82e55a69b386b9ce82e154f81b.zip |
Debugging info
llvm-svn: 28200
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index de23285c375..af3d38a0111 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -76,7 +76,7 @@ namespace { SDOperand CombineTo(SDNode *N, const std::vector<SDOperand> &To) { ++NodesCombined; DEBUG(std::cerr << "\nReplacing "; N->dump(); - std::cerr << "\nWith: "; To[0].Val->dump(); + std::cerr << "\nWith: "; To[0].Val->dump(&DAG); std::cerr << " and " << To.size()-1 << " other values\n"); std::vector<SDNode*> NowDead; DAG.ReplaceAllUsesWith(N, To, &NowDead); @@ -128,7 +128,7 @@ namespace { // Replace the old value with the new one. ++NodesCombined; DEBUG(std::cerr << "\nReplacing "; TLO.Old.Val->dump(); - std::cerr << "\nWith: "; TLO.New.Val->dump()); + std::cerr << "\nWith: "; TLO.New.Val->dump(&DAG)); std::vector<SDNode*> NowDead; DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New, NowDead); @@ -577,7 +577,7 @@ void DAGCombiner::Run(bool RunningAfterLegalize) { // mechanics for us, we have no work to do in this case. if (RV.Val != N) { DEBUG(std::cerr << "\nReplacing "; N->dump(); - std::cerr << "\nWith: "; RV.Val->dump(); + std::cerr << "\nWith: "; RV.Val->dump(&DAG); std::cerr << '\n'); std::vector<SDNode*> NowDead; DAG.ReplaceAllUsesWith(N, std::vector<SDOperand>(1, RV), &NowDead); |