A question about printout the SeletionDAG

commend “llvm-dis” can print out the LLVM IR

but is there any way to printout the SelectionDAG?
like: add (x , add (y,z))

Thank you for your assistance,
Kao Chang

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