[PATCH] D78625: [ARM] Distribute post-inc for Thumb2 sing/zero extending loads/stores
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 04:49:26 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samparker, efriedma, ostannard, simon_tatham.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
dmgreen retitled this revision from "[ARM] Distribute post-inc for " to "[ARM] Distribute post-inc for Thumb2 sing/zero extending loads/stores".
dmgreen added a parent revision: D77813: [ARM] Distribute MVE post-increments.
This adds sign/zero extending scalar loads/stores to the MVE instructions added in D77813 <https://reviews.llvm.org/D77813>, allowing us to pick up more post-inc situations. These are comparatively simple, compared to LDR/STR (which may be better turned into an LDRD/LDM), but still require some additions over MVE instructions. Because there are i12 and i8 variants of the offset loads/stores dealing with different signs, we may need to convert an i12 address to a i8 negative instruction.
https://reviews.llvm.org/D78625
Files:
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
llvm/test/CodeGen/Thumb2/mve-float16regloops.ll
llvm/test/CodeGen/Thumb2/mve-postinc-distribute.ll
llvm/test/CodeGen/Thumb2/postinc-distribute.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78625.259231.patch
Type: text/x-patch
Size: 17191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/22bea62a/attachment-0001.bin>
More information about the llvm-commits
mailing list