[LLVMdev] PassManager Dependence Question

David Greene dag at cray.com
Fri Sep 19 16:29:33 PDT 2008


On Friday 19 September 2008 18:16, Devang Patel wrote:

> > No way I'm going to go through every Pass, check if it manipulates
> > instructions, and update the numbering info if it does.  I'd rather
> > have
> > dominators check whenther numbering is up-to-date and update the
> > numbering
> > itself if it's not, on-the-fly.
>
> Well, then pass manager is not involved here at all in your scheme.

But PassManager should be able to tell me whether the numbering is up-to-date 
if the numbering is itself an analysis pass.  I just don't know if there's an 
API to that information yet.

                                                 -Dave



More information about the llvm-dev mailing list