dumping IR


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,

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.