[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
Mon Nov 4 01:29:13 PST 2019


Petar.Avramovic added a comment.

D69513 <https://reviews.llvm.org/D69513> goes first, following what SDAG does
%8:_(<16 x s8>) = G_INSERT_VECTOR_ELT %6:_, %7:_(s8), %5:_(s32)
should change only insert elt scalar type, and leave vector scalar type as is
%8:_(<16 x s8>) = G_INSERT_VECTOR_ELT %6:_, %7:_(s32), %5:_(s32) (in function: insert_i8)
insert instruction is selected based on vector type, inserted scalar is always i32 (i32 or i64 for mips64)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69711/new/

https://reviews.llvm.org/D69711





More information about the llvm-commits mailing list