[PATCH] D83056: Separate the Loop Peeling Utilities from the Loop Unrolling Utilities

Sidharth Baveja via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 08:38:02 PDT 2020


sidbav created this revision.
sidbav added reviewers: fhahn, Whitney, Meinersbur, bkramer, skatkov, ashlykov.
sidbav added a project: LLVM.
Herald added subscribers: llvm-commits, zzheng, hiraditya, mgorny.

This patch separates the loop peeling utilities from Loop Unrolling to generalize it since it is no longer just being used by Loop Unrolling. (D82927 <https://reviews.llvm.org/D82927>).

This patch is a followup to D80580 <https://reviews.llvm.org/D80580>. In that patch I separate the peeling specific parameters in the UnrollingPreferences struct and form a new struct called PeelingPreferences.

This patch is also a followup to D82927 <https://reviews.llvm.org/D82927>, where loop peeling is added to loop fusion.

The diff of this patch was created assuming that D80580 <https://reviews.llvm.org/D80580> and D82927 <https://reviews.llvm.org/D82927> is merged.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83056

Files:
  llvm/include/llvm/Transforms/Utils/LoopPeel.h
  llvm/include/llvm/Transforms/Utils/UnrollLoop.h
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  llvm/lib/Transforms/Scalar/LoopFuse.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/lib/Transforms/Utils/CMakeLists.txt
  llvm/lib/Transforms/Utils/LoopPeel.cpp
  llvm/lib/Transforms/Utils/LoopUnroll.cpp
  llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83056.275132.patch
Type: text/x-patch
Size: 18441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/18a35d33/attachment-0001.bin>


More information about the llvm-commits mailing list