[LLVMdev] RFC: Pass Manager Redux

Andrew Trick atrick at apple.com
Mon Jul 23 16:14:25 PDT 2012


On Jul 21, 2012, at 5:25 PM, Chris Lattner <clattner at apple.com> wrote:
> 2. It would be great to get conditionally invalidated analysis passes.  For example, if you run something like "dominators, loop unswitch, dominators", and loop unswitch doesn't *actually* change anything, then the second run of dominators shouldn't do anything.  In fact, we shouldn't have two instantiations of the dominator pass in the first place.


A slightly related implementation detail is that I find it useful to be able to register and configure passes without instantiating them by using the static ID only. I was never sure whether we were moving toward char& or void* IDs.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120723/ca1cd798/attachment.html>


More information about the llvm-dev mailing list