[PATCH] D64972: [Loop Peeling] Do not close further unroll/peel if profile based peeling was not used

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 01:32:07 PDT 2019


skatkov updated this revision to Diff 211690.
skatkov edited the summary of this revision.
skatkov added a comment.

Added the guard to not exceed the UnrollPeelMaxCount limit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64972/new/

https://reviews.llvm.org/D64972

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
  llvm/test/Transforms/LoopUnroll/peel-loop-conditions-pgo-1.ll
  llvm/test/Transforms/LoopUnroll/peel-loop-conditions-pgo-2.ll
  llvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64972.211690.patch
Type: text/x-patch
Size: 8442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190725/ccee6c8f/attachment-0001.bin>


More information about the llvm-commits mailing list