[VE] Packed 32/64bit broadcast isel and tests
authorSimon Moll <simon.moll@emea.nec.com>
Wed, 26 Jan 2022 09:32:26 +0000 (10:32 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Wed, 26 Jan 2022 13:16:06 +0000 (14:16 +0100)
commit5ceb0bc7eaccb318eb299ee308e01210a7da1d1e
treeefb16b032e2d078b4cc96ff8e0536383cdd0c02c
parent0984aa70da1047677577c3a1eb0445fca90d8614
[VE] Packed 32/64bit broadcast isel and tests

Packed-mode broadcast of f32/i32 requires the subregister to be
replicated to the full I64 register prior. Add repl_i32 and repl_f32 to
faciliate this.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D117878
llvm/lib/Target/VE/VECustomDAG.cpp
llvm/lib/Target/VE/VECustomDAG.h
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/test/CodeGen/VE/Packed/vec_broadcast.ll [new file with mode: 0644]