[PATCH] [LoopUnrollRuntime] Avoid high-cost trip count computation.
Sanjoy Das
sanjoy at playingwithpointers.com
Sun Apr 12 13:45:17 PDT 2015
I've added `AllowExpensiveTripCount` to `UnrollPreferences`. I don't
have a good understanding for when `AllowExpensiveTripCount` should be
true, so I've left it `false` always.
- address Hal's review: add UP.AllowExpensiveTripCount, off by default
http://reviews.llvm.org/D8994
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/high-cost-trip-count-computation.ll
test/Transforms/LoopUnroll/runtime-loop.ll
test/Transforms/LoopUnroll/runtime-loop4.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8994.23659.patch
Type: text/x-patch
Size: 8780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150412/af033d31/attachment.bin>
More information about the llvm-commits
mailing list