[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 16:23:22 PST 2016


eraman created this revision.
eraman added a reviewer: chandlerc.
eraman added a subscriber: llvm-commits.

I suspect this got removed when you rebased after Hal's commit removing assumption cache but didn't get back in after that patch got reverted.


https://reviews.llvm.org/D28038

Files:
  lib/Transforms/IPO/Inliner.cpp


Index: lib/Transforms/IPO/Inliner.cpp
===================================================================
--- lib/Transforms/IPO/Inliner.cpp
+++ 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.82286.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161222/65c4a298/attachment.bin>


More information about the llvm-commits mailing list