[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
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 ArgPromotion?
Thanks in advance,
Mikhail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200107/dd1bc481/attachment.html>
More information about the llvm-dev
mailing list