[PATCH] D68283: [ARM] Selection for MVE VMOVN
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 10:29:58 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 adds both VMOVNt and VMOVNb instruction selection from the appropriate shuffles. We detect shuffle masks of the form:
0, N, 2, N+2, 4, N+4, ...
or
0, N+1, 2, N+3, 4, N+5, ...
ISel will also try the opposite patterns, with inputs reversed. These are selected to VMOVNt and VMOVNb respectively.
https://reviews.llvm.org/D68283
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-vmovn.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68283.222643.patch
Type: text/x-patch
Size: 20271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/3cd41d63/attachment-0001.bin>
More information about the llvm-commits
mailing list