[NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander...
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 25 Feb 2020 18:51:02 +0000 (21:51 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 25 Feb 2020 20:05:57 +0000 (23:05 +0300)
commitb99c91a0872f4b7b7e482c40818bbdda4c967bd5
tree94d3e27ad2b717093f9924e2178afb17cc27597d
parent0789f280483e315d8bcb5e7005e04e7118983b21
[NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander::isHighCostExpansionHelper()

Summary:
In future patches`SCEVExpander::isHighCostExpansionHelper()` will respect the budget allocated by performing TTI cost modelling.
This is a fully NFC patch to make things reviewable.

Reviewers: reames, mkazantsev, wmi, sanjoy

Reviewed By: mkazantsev

Subscribers: hiraditya, zzheng, javed.absar, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73705
llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
llvm/lib/Analysis/ScalarEvolutionExpander.cpp
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
llvm/lib/Transforms/Utils/LoopUtils.cpp
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp