[PATCH] D70790: [ARM] Favour post inc for MVE loops
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 09:13:42 PST 2019
dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.
We were previously not necessarily favouring postinc for the MVE loads and stores, leading to extra code prior to the loop to set up the preinc. MVE in general can benefit from postinc (as we don't have unrolled loops), and certain instructions like the VLD2's only offset post-inc versions.
https://reviews.llvm.org/D70790
Files:
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
llvm/test/CodeGen/Thumb2/mve-vmla.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70790.231279.patch
Type: text/x-patch
Size: 18682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191127/8a5e8521/attachment-0001.bin>
More information about the llvm-commits
mailing list