summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-17 01:40:33 +0000
committerChris Lattner <sabre@nondot.org>2005-10-17 01:40:33 +0000
commitdf921f070976e72563af475fae8c26ccd394908d (patch)
tree5d19127fa0c033a2f6c61aeb440e3cf871e207ae /docs
parentf623a0844110f3d753296ec61f683349f05058ac (diff)
downloadllvm-df921f070976e72563af475fae8c26ccd394908d.tar.gz
llvm-df921f070976e72563af475fae8c26ccd394908d.tar.bz2
llvm-df921f070976e72563af475fae8c26ccd394908d.tar.xz
Document -view-isel-dags and -view-sched-dags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CodeGenerator.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index bc99fb2492..7bbc7602a8 100644
--- a/docs/CodeGenerator.html
+++ b/docs/CodeGenerator.html
@@ -828,6 +828,15 @@ SelectionDAG-based instruction selection consists of the following steps:
<p>After all of these steps are complete, the SelectionDAG is destroyed and the
rest of the code generation passes are run.</p>
+<p>One great way to visualize what is going on here is to take advantage of a
+few LLC command line options. In particular, the <tt>-view-isel-dags</tt>
+option pops up a window with the SelectionDAG input to the Select phase for all
+of the code compiled (if you only get errors printed to the console while using
+this, you probably <a href="ProgrammersManual.html#ViewGraph">need to configure
+your system</a> to add support for it). The <tt>-view-sched-dags</tt> option
+views the SelectionDAG output from the Select phase and input to the Scheduler
+phase.
+</p>
</div>
<!-- _______________________________________________________________________ -->