<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 28, 2017, at 6:41 AM, Welson Sun via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<title class=""></title>

<div class="">
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">Looking at the InstructionCombining.cpp code:
</div></div></div></blockquote><div><br class=""></div><div>What is the question?</div><div><br class=""></div><div>Please also note that the new pass manager is not in production, even in 4.0.</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class=""><div class=""><br class="">
PreservedAnalyses InstCombinePass::run(Function &F,<br class="">
                                       AnalysisManager<Function> &AM) {<br class="">
  auto &AC = AM.getResult<AssumptionAnalysis>(F);<br class="">
  auto &DT = AM.getResult<DominatorTreeAnalysis>(F);<br class="">
  auto &TLI = AM.getResult<TargetLibraryAnalysis>(F);<br class="">
<br class="">
  auto *LI = AM.getCachedResult<LoopAnalysis>(F);<br class="">
<br class="">
  // FIXME: The AliasAnalysis is not yet supported in the new pass manager<br class=""></div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class="">Thanks,</div>
<div class="">Welson</div>
</div>
</div>

_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></body></html>