[PATCH] D19553: Unroll pass restructure.
Evgeny Stupachenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 12:54:12 PDT 2016
evstupac created this revision.
evstupac added reviewers: mzolotukhin, sanjoy, escha, resistor.
evstupac added subscribers: llvm-commits, zansari.
evstupac set the repository for this revision to rL LLVM.
Herald added subscribers: mzolotukhin, sanjoy.
The patch restructure unroll pass (a part where decision on unroll Count is made).
It adds some comments and early exits when unroll Count decision is obvious.
The patch does not affect trunk, but can affect architectures where unroll remainder is not allowed. However it is easy to disable it in Unroll Preferences structure.
I've got build same on all spec benchmarks for x86.
Repository:
rL LLVM
http://reviews.llvm.org/D19553
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Transforms/Utils/UnrollLoop.h
lib/Transforms/Scalar/LoopUnrollPass.cpp
lib/Transforms/Utils/LoopUnroll.cpp
test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19553.55065.patch
Type: text/x-patch
Size: 26004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160426/48172917/attachment.bin>
More information about the llvm-commits
mailing list