Hello, I am new to LLVM. I would like to see the effect of each pass on IR, and in particular to see which pass performed certain changes. So, I was wondering if there is a command line option that dumps the IR after each pass. Thank you, Dan _________________________________________________________________ HotmailĀ® has a new way to see what's up with your friends. http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090518/a0168163/attachment.html>
On Monday 18 May 2009 12:32, dan mihai wrote:> Hello, > > I am new to LLVM. > I would like to see the effect of each pass on IR, and in particular to see > which pass performed certain changes. So, I was wondering if there is a > command line option that dumps the IR after each pass.Not yet, but I have a patch that provides this. I've been meaning to send it upstream. I'll get on it and hopefully have it in in a couple of days. -Dave