[LLVMdev] PassManager vs. FunctionPassManager
devang.patel at gmail.com
Fri Jun 4 10:06:38 PDT 2010
On Fri, Jun 4, 2010 at 7:49 AM, David Greene <dag at cray.com> wrote:
> What's the point of having two pass managers here? Why not just use
> "Passes" for everything?
This is done to replicate what llvm-gcc does. First pass manager to
optimizer each function individually at the end of the function.
Second pass manager to optimize entire module. Add
-fdebug-pass-arguments on the llvm-gcc command line for more info.
More information about the llvm-dev