[PATCH] D22250: [PM] Port LoopIdiomRecognize Pass to new PM

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 11:06:41 PDT 2016


davide added inline comments.

================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:182
@@ +181,3 @@
+
+  auto *AA = FAM.getCachedResult<AAManager>(*F);
+  auto *DT = FAM.getCachedResult<DominatorTreeAnalysis>(*F);
----------------
davide wrote:
> davidxl wrote:
> > Add a comment here about why 'getCachedResult' instead of getResult is used.
> +1, you can see Sean thread's for details
*Sean's thread


http://reviews.llvm.org/D22250





More information about the llvm-commits mailing list