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 _________________________________________________________________ 用部落格分享照片、影音、趣味小工具和最愛清單,盡情秀出你自己 — Windows Live Spaces http://home.spaces.live.com/?showUnauth=1&lc=1028 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090614/001e7ae2/attachment.html>
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
Maybe Matching Threads
- [LLVMdev] A problem creating operands for a new IR instruction to the mailing list
- [LLVMdev] how can I compile an ARM assembly file produced by llc into ARM binary ?
- [LLVMdev] A problem creating operands for a new IR instruction to the mailing list
- [LLVMdev] A problem creating operands for a new IR instruction to the mailing list
- [LLVMdev] possible PowerPC (32bits) backend bug