mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
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
This commit is contained in:
parent
f623a08441
commit
df921f0709
@ -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
|
<p>After all of these steps are complete, the SelectionDAG is destroyed and the
|
||||||
rest of the code generation passes are run.</p>
|
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>
|
</div>
|
||||||
|
|
||||||
<!-- _______________________________________________________________________ -->
|
<!-- _______________________________________________________________________ -->
|
||||||
|
Loading…
Reference in New Issue
Block a user