projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa7d48
)
Pass GetAssumptionCache to InlineFunctionInfo constructor
author
Easwaran Raman
<eraman@google.com>
Thu, 22 Dec 2016 01:07:01 +0000
(
01:07
+0000)
committer
Easwaran Raman
<eraman@google.com>
Thu, 22 Dec 2016 01:07:01 +0000
(
01:07
+0000)
Differential revision: https://reviews.llvm.org/D28038
llvm-svn: 290295
llvm/lib/Transforms/IPO/Inliner.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/Inliner.cpp
b/llvm/lib/Transforms/IPO/Inliner.cpp
index
baef308
..
7b2db94
100644
(file)
--- 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();