diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-21 20:00:07 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-21 20:00:07 +0000 |
| commit | 581cc87f575cbca0c7d31915fa822e7d18b3cdca (patch) | |
| tree | 30a2313432cc6390c5ea21f685f09d2cf1c15504 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
| parent | 6dc08ebeb09a7e1b81e3ccb339d60baf6ee7f70d (diff) | |
| download | bcm5719-llvm-581cc87f575cbca0c7d31915fa822e7d18b3cdca.tar.gz bcm5719-llvm-581cc87f575cbca0c7d31915fa822e7d18b3cdca.zip | |
Add titles to the various SelectionDAG viewGraph calls
that include useful information like the name of the
block being viewed and the current phase of compilation.
llvm-svn: 53872
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index aff38699185..726108a9976 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -37,20 +37,6 @@ STATISTIC(PreIndexedNodes , "Number of pre-indexed nodes created"); STATISTIC(PostIndexedNodes, "Number of post-indexed nodes created"); namespace { -#ifndef NDEBUG - static cl::opt<bool> - ViewDAGCombine1("view-dag-combine1-dags", cl::Hidden, - cl::desc("Pop up a window to show dags before the first " - "dag combine pass")); - static cl::opt<bool> - ViewDAGCombine2("view-dag-combine2-dags", cl::Hidden, - cl::desc("Pop up a window to show dags before the second " - "dag combine pass")); -#else - static const bool ViewDAGCombine1 = false; - static const bool ViewDAGCombine2 = false; -#endif - static cl::opt<bool> CombinerAA("combiner-alias-analysis", cl::Hidden, cl::desc("Turn on alias analysis during testing")); @@ -5662,10 +5648,6 @@ SDOperand DAGCombiner::FindBetterChain(SDNode *N, SDOperand OldChain) { // SelectionDAG::Combine - This is the entry point for the file. // void SelectionDAG::Combine(bool RunningAfterLegalize, AliasAnalysis &AA) { - if (!RunningAfterLegalize && ViewDAGCombine1) - viewGraph(); - if (RunningAfterLegalize && ViewDAGCombine2) - viewGraph(); /// run - This is the main entry point to this class. /// DAGCombiner(*this, AA).Run(RunningAfterLegalize); |

