[LLVMdev] PassManager Dependence Question

Devang Patel dpatel at apple.com
Fri Sep 19 16:42:23 PDT 2008


On Sep 19, 2008, at 4:29 PM, David Greene wrote:

> 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.

Right now, pass manager does not provide such API.

Note, pass manager does not dynamically schedule passes.
-
Devang



More information about the llvm-dev mailing list