Hi,

 

mustPreserveAnalysisID(LCSSAID) cannot be used with the new pass manager, so what is the right way for querying it?  FunctionAnalysisManager::getCachedResult(F) will not work, since LCSSAPass does not have  a result.  Moreover, it is not an analysis J

 

Thanks,

Slava

 

">

(original) (raw)

Hi Slava,

we don't preserve LCSSA in the new PM. If you need it you have to rerun LCSAA before your pass.

Cheers,
Philip

On Wed, Feb 6, 2019 at 2:36 AM Zakharin, Vyacheslav P via llvm-dev <llvm-dev@lists.llvm.org> wrote:

Hi,

mustPreserveAnalysisID(LCSSAID) cannot be used with the new pass manager, so what is the right way for querying it? FunctionAnalysisManager::getCachedResult(F) will not work, since LCSSAPass does not have a result. Moreover, it is not an analysis J

Thanks,

Slava

_______________________________________________

LLVM Developers mailing list

llvm-dev@lists.llvm.org

https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev