[PATCH] D67603: [Attributor] Create helper struct for handling analysis getters

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 22:25:24 PDT 2019


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:4113
+    return &FAM.getResult<AAManager>(const_cast<Function &>(*F));
   };
 
----------------
Can we move this stuff into the AnalysisGetter as well? e.g., only pass the FAM or even the module manager AM?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67603/new/

https://reviews.llvm.org/D67603





More information about the llvm-commits mailing list