[llvm-dev] AliasAnalysis supported by the new Pass Manager in v3.9 ?

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 28 11:59:15 PST 2017


> On Jan 28, 2017, at 6:41 AM, Welson Sun via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Looking at the InstructionCombining.cpp code:

What is the question?

Please also note that the new pass manager is not in production, even in 4.0.

— 
Mehdi


> 
> PreservedAnalyses InstCombinePass::run(Function &F,
>                                        AnalysisManager<Function> &AM) {
>   auto &AC = AM.getResult<AssumptionAnalysis>(F);
>   auto &DT = AM.getResult<DominatorTreeAnalysis>(F);
>   auto &TLI = AM.getResult<TargetLibraryAnalysis>(F);
> 
>   auto *LI = AM.getCachedResult<LoopAnalysis>(F);
> 
>   // FIXME: The AliasAnalysis is not yet supported in the new pass manager
> 
> 
> Thanks,
> Welson
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

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


More information about the llvm-dev mailing list