[PATCH] D45374: [LoopUnroll] Limit peeling to conds in BBs executed on every iteration.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 08:36:28 PDT 2018


fhahn created this revision.
fhahn added reviewers: mcrosier, efriedma, mkazantsev.

Peeling off iterations that only simplify a nested conditional is likely
to increase the code size without being likely to be beneficial.


https://reviews.llvm.org/D45374

Files:
  include/llvm/Transforms/Utils/UnrollLoop.h
  lib/Transforms/Scalar/LoopUnrollPass.cpp
  lib/Transforms/Utils/LoopUnrollPeel.cpp
  test/Transforms/LoopUnroll/peel-loop-conditions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45374.141354.patch
Type: text/x-patch
Size: 4993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/ebf19544/attachment.bin>


More information about the llvm-commits mailing list