[PATCH] D127305: Plumb InstructionCost through unrolling costing

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 07:10:04 PDT 2022


reames created this revision.
reames added reviewers: craig.topper, frasercrmck, nikic, kito-cheng, sdesmalen.
Herald added subscribers: StephenFan, zzheng, bollu, hiraditya, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added a project: LLVM.

Teach the unroller(s) how to handle an invalid cost.  This is an extension of D127131 <https://reviews.llvm.org/D127131> to the remaining cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127305

Files:
  llvm/include/llvm/Transforms/Utils/UnrollLoop.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127305.435146.patch
Type: text/x-patch
Size: 6207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220608/247070cb/attachment.bin>


More information about the llvm-commits mailing list