[llvm-dev] Let CallGraphSCCPass Use Function-Level Analysis
Doerfert, Johannes via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 9 08:25:48 PST 2020
On 01/09, Mikhail Gudim wrote:
> Thanks Brian and Johannes for your replies.
> " As Brian noted, stuff like this works better in the new pass manager."
> Yes, but I need it to work for the old pass manager.
> " Did you initialize the pass, via
> Did you require it, via
> ` AU.addRequired<PostDominatorTreeWrapperPass>();`"
> Yes, I did.
Worst case, you could build the PostDominatorTree yourself in the pass.
> " Btw. May I ask what you are planning to do?"
> I would like to iterate through all post-dominators of the entry block (instead of just the entry block) to find more opportunities for argument promotion:
> Btw, it would be great if you could review / give some feedback on that patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the llvm-dev