[LLVMdev] Isel DAG documentation?

Owen Anderson resistor at mac.com
Fri Mar 7 16:53:55 PST 2014


On Mar 7, 2014, at 4:28 PM, David Given <dg at cowlark.com> wrote:

> Can anyone point me at any decent resources as to what all this stuff
> actually does? And how to figure out what's going wrong when it
> inevitably does go wrong?
> 
> So far all I've found is include/llvm/Target/TargetSelectionDAG.td,
> which at least lists them but doesn't say what they do, and the C++
> implementations in SelectionDAGNodes.h, which is entirely undocumented...

Generally speaking, the Graphviz options (such as -view-isel-dags) to visualize DAGs are your friends. 
ISDOpcodes.h contains what documentation there is on the semantics of each opcode.

—Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140307/ee9fcaa7/attachment.html>


More information about the llvm-dev mailing list