[PATCH] D44983: [LoopUnroll] Only peel if a predicate becomes known in the loop body.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 09:23:04 PDT 2018


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

If a predicate does not become known after peeling, peeling is unlikely
to be beneficial.


https://reviews.llvm.org/D44983

Files:
  lib/Transforms/Utils/LoopUnrollPeel.cpp
  test/Transforms/LoopUnroll/peel-loop-conditions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44983.140089.patch
Type: text/x-patch
Size: 10881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/c6c306cb/attachment.bin>


More information about the llvm-commits mailing list