[PATCH] D21720: Unroll for uncountable loops
Evgeny Stupachenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 13:42:26 PST 2016
evstupac updated this revision to Diff 78772.
evstupac added a comment.
1. Set "disable unroll" for loops unrolled by "force unroll". The reason is that on LTO unroll pass could be called multiple times and we will try to unroll unless exceed threshold. This is not critical, but makes unroll behavior dependent on LTO.
2. Add missed unit tests.
3. Fix calculations for phis used outside of the loop only.
Repository:
rL LLVM
https://reviews.llvm.org/D21720
Files:
include/llvm/Analysis/LoopUnrollAnalyzer.h
lib/Analysis/LoopUnrollAnalyzer.cpp
lib/Transforms/Scalar/LoopUnrollPass.cpp
test/Transforms/LoopUnroll/unroll-force.ll
unittests/Analysis/UnrollAnalyzer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21720.78772.patch
Type: text/x-patch
Size: 10685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161121/05fcba50/attachment.bin>
More information about the llvm-commits
mailing list