[llvm] r290295 - Pass GetAssumptionCache to InlineFunctionInfo constructor
Easwaran Raman via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 17:07:02 PST 2016
Author: eraman
Date: Wed Dec 21 19:07:01 2016
New Revision: 290295
URL: http://llvm.org/viewvc/llvm-project?rev=290295&view=rev
Log:
Pass GetAssumptionCache to InlineFunctionInfo constructor
Differential revision: https://reviews.llvm.org/D28038
Modified:
llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Inliner.cpp?rev=290295&r1=290294&r2=290295&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Wed Dec 21 19:07:01 2016
@@ -790,7 +790,7 @@ PreservedAnalyses InlinerPass::run(LazyC
// Setup the data structure used to plumb customization into the
// `InlineFunction` routine.
- InlineFunctionInfo IFI(/*cg=*/nullptr);
+ InlineFunctionInfo IFI(/*cg=*/nullptr, &GetAssumptionCache);
auto GetInlineCost = [&](CallSite CS) {
Function &Callee = *CS.getCalledFunction();
More information about the llvm-commits
mailing list