[PATCH] D159096: [AArch64][GlobalISel] Lower G_EXTRACT_VECTOR_ELT with variable indices

Vladislav Dzhidzhoev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 07:47:28 PDT 2023


dzhidzhoev created this revision.
dzhidzhoev added reviewers: aemerson, arsenm, dmgreen, efriedma, jroelofs, paquette, Petar.Avramovic.
Herald added subscribers: sunshaoce, hiraditya, kristof.beyls.
Herald added a project: All.
dzhidzhoev requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

G_EXTRACT_VECTOR_ELT instructions with non-constant indices are not
selected, so they need to be lowered.

Fixes https://github.com/llvm/llvm-project/issues/65049.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159096

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159096.554335.patch
Type: text/x-patch
Size: 19929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/0ab92ef9/attachment.bin>


More information about the llvm-commits mailing list