[LLVMdev] A question about printout the SeletionDAG
Eli Friedman
eli.friedman at gmail.com
Sat Jun 13 22:59:33 PDT 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.
-Eli
More information about the llvm-dev
mailing list