commit | 26f7fa7bba94eb18bf0e43586dd2b596cb58ca80 | [log] [tgz] |
---|---|---|
author | Jim Laskey <jlaskey@mac.com> | Tue Oct 17 19:33:52 2006 +0000 |
committer | Jim Laskey <jlaskey@mac.com> | Tue Oct 17 19:33:52 2006 +0000 |
tree | 6708a40e03a0bc00223f823b7a2689133101dfcb | |
parent | 3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5a0f5b1..9faf703 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2684,7 +2684,7 @@ DumpNodes(Nodes[i], 2, this); } - DumpNodes(getRoot().Val, 2, this); + if (getRoot().Val) DumpNodes(getRoot().Val, 2, this); std::cerr << "\n\n"; }