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

Welson Sun via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 28 06:41:39 PST 2017

Looking at the InstructionCombining.cpp code:

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

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

More information about the llvm-dev mailing list