[PATCH] D69510: [ARM] MVE reverse shuffles.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 06:06:05 PDT 2019
dmgreen created this revision.
dmgreen added reviewers: t.p.northover, samparker, SjoerdMeijer, ostannard, simon_tatham.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.
The vectorizer can sometimes make reverse shuffles from indices that count down. In MVE, we don't have a 128bit rev instruction, but we can select this to a VREV64 with some lane movs to swap the two halfs.
Ideally this would use VMOVD's, but only gets as far as VMOVS's at the moment.
https://reviews.llvm.org/D69510
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-shuffle.ll
llvm/test/CodeGen/Thumb2/mve-shufflemov.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69510.226651.patch
Type: text/x-patch
Size: 11247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191028/4e0377cb/attachment.bin>
More information about the llvm-commits
mailing list