[PATCH] D77718: [ARM] Combines for VMOVN
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 04:49:48 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samparker, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
This adds two combines for VMOVN, one to fold VMOVN[tb](c, VQMOVNb(a, b)) => VQMOVN[tb](c, b), the other to perform demand bits analysis on the lanes of a VMOVN. We know that only the bottom lanes of the second operand and the top or bottom lanes of the Qd operand are needed in the result, depending on if the VMOVN is bottom or top.
https://reviews.llvm.org/D77718
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
llvm/test/CodeGen/Thumb2/mve-vqmovn-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77718.255961.patch
Type: text/x-patch
Size: 6640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/246be7ec/attachment.bin>
More information about the llvm-commits
mailing list