[PATCH] D109325: [ARM] Teach DemandedVectorElts about VMOVN lanes
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 07:31:35 PDT 2021
dmgreen created this revision.
dmgreen added reviewers: simon_tatham, samtebbs, SjoerdMeijer, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
The class of instructions that write to narrow top/bottom lanes only demand the even or odd elements of the input lanes. Which means that VMOVNT; VMOVNB demands no lanes from the original input. This teaches that to instcombine from the target hooks available through ARMTTIImpl.
https://reviews.llvm.org/D109325
Files:
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/test/Transforms/InstCombine/ARM/mve-narrow.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109325.370920.patch
Type: text/x-patch
Size: 15199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210906/342d8ce6/attachment.bin>
More information about the llvm-commits
mailing list