[PATCH] D67752: [ARM] Loop unrolling preferences for LOB cores
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 01:56:07 PDT 2019
samparker created this revision.
samparker added reviewers: dmgreen, SjoerdMeijer.
Herald added subscribers: zzheng, kristof.beyls.
Perform loop unrolling differently for cores with low-overhead branches:
- Don't unroll the remainder loop, with the expectation that both the unrolled loop and the remainder will be converted into a loloop.
- Don't force unroll small loops as we now try to use the non-decrement form of LE for uncountable loops. We need to use CBN/Z for that optimisation, so reducing code size is important due to their limited range.
https://reviews.llvm.org/D67752
Files:
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Transforms/LoopUnroll/ARM/loop-unrolling.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67752.220827.patch
Type: text/x-patch
Size: 6713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190919/d3cbee78/attachment.bin>
More information about the llvm-commits
mailing list