summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index baef3086f7d..7b2db949d5a 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -790,7 +790,7 @@ PreservedAnalyses InlinerPass::run(LazyCallGraph::SCC &InitialC,
// 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();
OpenPOWER on IntegriCloud