[PATCH] D73705: [NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander::isHighCostExpansionHelper()

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 06:40:31 PST 2020


lebedev.ri created this revision.
lebedev.ri added reviewers: reames, mkazantsev, wmi, sanjoy.
lebedev.ri added a project: LLVM.
Herald added subscribers: javed.absar, zzheng, hiraditya.
lebedev.ri added a parent revision: D73704: [NFC][SCEV] Piping to pass TTI into SCEVExpander::isHighCostExpansionHelper().
lebedev.ri added a child revision: D73706: [NFC][SCEV] SCEVExpander::isHighCostExpansionHelper(): check that we processed expression first.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73705

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73705.241435.patch
Type: text/x-patch
Size: 7657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200130/3a443423/attachment-0001.bin>


More information about the llvm-commits mailing list