[llvm-dev] Let CallGraphSCCPass Use Function-Level Analysis
Mikhail Gudim via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 7 05:13:02 PST 2020
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 ArgPromotion?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev