[PATCH] D43876: [LoopUnroll] Peel off iterations if it makes conditions true/false.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 02:31:55 PDT 2018


fhahn updated this revision to Diff 138308.
fhahn marked 2 inline comments as done.
fhahn added a comment.

Thanks again! I've added a test case to make sure we do not peel the inner loop if the condition depends ARs of the outer loop


https://reviews.llvm.org/D43876

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: D43876.138308.patch
Type: text/x-patch
Size: 28843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180314/7d9c617a/attachment.bin>


More information about the llvm-commits mailing list