[PATCH] D36309: [LoopUnroll] Enable option to peel remainder loop
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 08:56:20 PDT 2017
samparker updated this revision to Diff 110012.
samparker added a comment.
Since we know that the maximum number of iterations have been peeled off the loop, I've added a function that removes the remainder loop body. Also now added a test.
https://reviews.llvm.org/D36309
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Transforms/Utils/UnrollLoop.h
lib/Transforms/Scalar/LoopUnrollPass.cpp
lib/Transforms/Utils/LoopUnroll.cpp
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/runtime-peel-remainder.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36309.110012.patch
Type: text/x-patch
Size: 12237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170807/31926160/attachment.bin>
More information about the llvm-commits
mailing list