[llvm-dev] right way for setting PreserveLCSSA with new pass manager
Philip Pfaffe via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 6 09:31:20 PST 2019
we don't preserve LCSSA in the new PM. If you need it you have to rerun
LCSAA before your pass.
On Wed, Feb 6, 2019 at 2:36 AM Zakharin, Vyacheslav P via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> mustPreserveAnalysisID(LCSSAID) cannot be used with the new pass manager,
> so what is the right way for querying it?
> FunctionAnalysisManager::getCachedResult<LCSSAPass>(F) will not work, since
> LCSSAPass does not have a result. Moreover, it is not an analysis J
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev