[PATCH] D69711: [MIPS GlobalISel] Select MSA insert_vector_elt with immediate index
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 06:35:34 PDT 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, arphaman, jrtc27, hiraditya, arichardson, rovka, sdardis.
Herald added a project: LLVM.
Petar.Avramovic added a parent revision: D69513: [GlobalISel] Widen one type at the time for insert/extract vector elt.
Select G_INSERT_VECTOR_ELT when insert index is defined with G_CONSTANT,
and can be folded like an immediate, for MIPS32 with MSA.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69711
Files:
llvm/lib/Target/Mips/MipsInstructionSelector.cpp
llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
llvm/test/CodeGen/Mips/GlobalISel/instruction-select/insert_vector_elt_imm_index.mir
llvm/test/CodeGen/Mips/GlobalISel/legalizer/insert_vector_elt_imm_index.mir
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/insert_vector_elt_imm_index.ll
llvm/test/CodeGen/Mips/GlobalISel/regbankselect/insert_vector_elt_imm_index.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69711.227439.patch
Type: text/x-patch
Size: 31988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191101/54d30653/attachment.bin>
More information about the llvm-commits
mailing list