[LLVMdev] loop passes vs call graph

Jay Foad jay.foad at gmail.com
Tue Feb 17 02:59:19 PST 2009


> This will defeat the goal of applying loop transformations before
> inlining leaf functions. Note, Loop transformations are not aware of
> call graph. They do not claim to preserve call graph. However, loop
> passes are run by a loop pass manager (LPPassManager) which is itself
> a function pass. The pass manager is not doing the right thing  here
> because LPPassManager is incorrectly claiming to preserve call graph.
> The right approach is to teach LPPassManager to really preserve call
> graph.

I've raised a bug to track this issue:

http://llvm.org/bugs/show_bug.cgi?id=3601

Thanks,
Jay.



More information about the llvm-dev mailing list