search for: d5804ba567476e32cad1fd0850363532

Displaying 2 results from an estimated 2 matches for "d5804ba567476e32cad1fd0850363532".

2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
Dear all, I would like to use the PostDominatorTree in ArgPromotion. I did not find an example of how to use function level analysis inside CallGraphSCCPass. I tried to follow an example of how to use function-level pass in a module pass, but I hit "llvm_unreachable" in PMDataManager::addLowerLevelRequiredPass. What would be a proper way to make PostDominatorTree available in
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
...Tree &PDT = > FAM.getResult<llvm::PostDominatorTreeAnalysis>(F); > PDT.print(llvm::outs()); > } > return llvm::PreservedAnalyses::none(); > } > }; > ``` > > Here's a full example of the above: > https://gist.github.com/modocache/d5804ba567476e32cad1fd0850363532 > > I was just reading through this part of the codebase, so I'm a little > familiar with it now. Anyway, hope this helps! > > - Brian Gesiak > > On Tue, Jan 7, 2020 at 8:13 AM Mikhail Gudim via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > >...