[llvm-dev] right way for setting PreserveLCSSA with new pass manager

Zakharin, Vyacheslav P via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 5 17:36:09 PST 2019


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 :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190206/d0d74674/attachment.html>

More information about the llvm-dev mailing list