diff options
author | Easwaran Raman <eraman@google.com> | 2016-12-22 01:07:01 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2016-12-22 01:07:01 +0000 |
commit | 180bd9f6b30a1cbea5adbe65d03af95148872740 (patch) | |
tree | c0ee884e9d2e413915dbf277f36679a49dff4e30 /llvm/lib | |
parent | 5fa7d48bb804dd507e64086636f2f725d4e3af71 (diff) | |
download | bcm5719-llvm-180bd9f6b30a1cbea5adbe65d03af95148872740.tar.gz bcm5719-llvm-180bd9f6b30a1cbea5adbe65d03af95148872740.zip |
Pass GetAssumptionCache to InlineFunctionInfo constructor
Differential revision: https://reviews.llvm.org/D28038
llvm-svn: 290295
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 2 |
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(); |