[LLVMdev] dumping IR

David Greene dag at cray.com
Mon May 18 12:27:34 PDT 2009


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



More information about the llvm-dev mailing list