[VE] VE Vector Predicated SDNode, vector add isel and tests
authorSimon Moll <simon.moll@emea.nec.com>
Mon, 23 Nov 2020 14:33:10 +0000 (15:33 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Mon, 23 Nov 2020 16:17:07 +0000 (17:17 +0100)
commitb955c7e63001068f7829827c327dc96ca9a05e8c
tree704429c0a4b0e266b5e2354ba19c963b030888ff
parent619630f997f1257deb8a290b9735e2d5b64886b6
[VE] VE Vector Predicated SDNode, vector add isel and tests

VE Vector Predicated (VVP) SDNodes form an intermediate layer between VE
vector instructions and the initial SDNodes.

We introduce 'vvp_add' with isel and tests as the first of these VVP
nodes. VVP nodes have a mask and explicit vector length operand, which
we will make proper use of later.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D91802
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/lib/Target/VE/VEInstrPatternsVec.td
llvm/lib/Target/VE/VVPInstrInfo.td [new file with mode: 0644]
llvm/lib/Target/VE/VVPInstrPatternsVec.td [new file with mode: 0644]
llvm/lib/Target/VE/VVPNodes.def [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/vec_add.ll [new file with mode: 0644]