[PATCH] D28038: Pass GetAssumptionCache to InlineFunctionInfo constructor in the new inliner implementation

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 17:17:35 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL290295: Pass GetAssumptionCache to InlineFunctionInfo constructor (authored by eraman).

Changed prior to commit:
  https://reviews.llvm.org/D28038?vs=82286&id=82292#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28038

Files:
  llvm/trunk/lib/Transforms/IPO/Inliner.cpp


Index: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
===================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp
@@ -790,7 +790,7 @@
 
   // 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();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28038.82292.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161222/50983697/attachment.bin>


More information about the llvm-commits mailing list