[VE] v256.32|64 gather|scatter isel and tests
authorSimon Moll <simon.moll@emea.nec.com>
Mon, 14 Mar 2022 08:19:27 +0000 (09:19 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Mon, 14 Mar 2022 09:38:56 +0000 (10:38 +0100)
commita5f126233233605bf71a884087bf719e4f388d5f
tree20febb8e75ea592fc6214995e8f5a75fc16f4b48
parent873f081e5aac7fa80a0a8060a0fd52deaf05e88f
[VE] v256.32|64 gather|scatter isel and tests

This adds support for v256.32|64 scatter|gather isel.  vp.gather|scatter
and regular gather|scatter intrinsics are both lowered to the internal
VVP layer.  Splitting these ops on v512.32 is the subject of future
patches.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D121288
llvm/lib/Target/VE/VECustomDAG.cpp
llvm/lib/Target/VE/VECustomDAG.h
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VVPISelLowering.cpp
llvm/lib/Target/VE/VVPInstrInfo.td
llvm/lib/Target/VE/VVPInstrPatternsVec.td
llvm/lib/Target/VE/VVPNodes.def
llvm/test/CodeGen/VE/Vector/vec_gather.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/vec_scatter.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/vp_gather.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/vp_scatter.ll [new file with mode: 0644]