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 | 26f7fa7bba94eb18bf0e43586dd2b596cb58ca80 (patch) | |
tree | 6708a40e03a0bc00223f823b7a2689133101dfcb /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de (diff) |
Make it simplier to dump DAGs while in DAGCombiner. Remove a nasty optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5a0f5b1e99..9faf703b01 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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"; } |