[PATCH] D23299: [PM] Port the always inliner to the new pass manager in a much more minimal and boring form than the old pass manager's version.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 18:06:09 PDT 2016


eraman added a subscriber: eraman.

================
Comment at: include/llvm/Transforms/IPO/AlwaysInliner.h:28
@@ +27,3 @@
+///
+/// However, because of the requirement to *remove* these functions, this pass is somewhat
+struct AlwaysInlinerPass : PassInfoMixin<AlwaysInlinerPass> {
----------------
Incomplete comment.

================
Comment at: lib/Transforms/IPO/AlwaysInliner.cpp:37
@@ +36,3 @@
+PreservedAnalyses AlwaysInlinerPass::run(Module &M, ModuleAnalysisManager &) {
+  InlineFunctionInfo IFI;
+  SmallSetVector<CallSite, 16> Calls;
----------------
InlineFunction makes use of IFI.GetAssumptionCache in AddAlignmentAssumptions. 


https://reviews.llvm.org/D23299





More information about the llvm-commits mailing list