diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-10-17 19:33:52 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-10-17 19:33:52 +0000 |
commit | e7d2c24a7dbf2aa40852bdc3b72f07457c99cf80 (patch) | |
tree | 06de8a01f5497354627a301ea62cf4fe8a81fc96 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 2d7d14262a9142e74118d6df8ae09400e086003a (diff) | |
download | bcm5719-llvm-e7d2c24a7dbf2aa40852bdc3b72f07457c99cf80.tar.gz bcm5719-llvm-e7d2c24a7dbf2aa40852bdc3b72f07457c99cf80.zip |
Make it simplier to dump DAGs while in DAGCombiner. Remove a nasty optimization.
llvm-svn: 31009
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5a0f5b1e99f..9faf703b01f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2684,7 +2684,7 @@ void SelectionDAG::dump() const { DumpNodes(Nodes[i], 2, this); } - DumpNodes(getRoot().Val, 2, this); + if (getRoot().Val) DumpNodes(getRoot().Val, 2, this); std::cerr << "\n\n"; } |