[LLVMdev] A question about printout the SeletionDAG
eli.friedman at gmail.com
Sun Jun 14 00:59:33 CDT 2009
2009/6/13 seventh moon <suigintou_ at hotmail.com>:
> commend "llvm-dis" can print out the LLVM IR
> but is there any way to printout the SelectionDAG?
> like: add (x , add (y,z))
Try passing -debug to llc. Alternatively, you can use the options
like -view-isel-dags to get a pretty graph; there's a complete list of
the options in llc --help-hidden.
More information about the LLVMdev