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();