[LLVMdev] Pass Manager Question

John Criswell criswell at cs.uiuc.edu
Thu Mar 19 11:43:39 PDT 2009


Dear All,

If I have a ModulePass that requires a FunctionPass, and I include a
line like the following:

<variable> = &getAnalysis<TheFunctionPass>(*Function);

... will the PassManager blindly re-run the FunctionPass each time the
ModulePass requests it, or does it use the Pass dependency information
to re-run the FunctionPass only when necessary.

-- John T.




More information about the llvm-dev mailing list