[LLVMdev] [PATCH] Before/After IR Dumps

David Greene dag at cray.com
Fri Mar 5 08:56:42 PST 2010


On Thursday 04 March 2010 18:48:39 Chris Lattner wrote:

> I'd expect the pass manager to manage all of this.  To get the appropriate
> printer for a pass, it would invoke a virtual method on the pass itself,
> e.g.:
>
> P->getPrinterPass();
>
> which would return a ModulePrinter, FunctionPrinter, MachineFunctionPrinter
> etc depending on the pass.

Ok, that makes sense.  I will rework the patch.

                                                -Dave




More information about the llvm-dev mailing list