[PATCH] D36134: [ARM] Improve loop unrolling for Cortex-M
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 03:28:50 PDT 2017
samparker created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.
Override the default unroll count using 2, or 4 if the core provides a branch predictor. Unrolling is also now forced, for small loops, and the unroll count is set to 4 for loops that SCEV doesn't comprehend.
https://reviews.llvm.org/D36134
Files:
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Transforms/LoopUnroll/ARM/loop-unrolling.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36134.109067.patch
Type: text/x-patch
Size: 22885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/ba6d861a/attachment.bin>
More information about the llvm-commits
mailing list