fallback: legalize: G_EXTRACT_VECTOR_ELT <vscale x N x i16>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_EXTRACT_VECTOR_ELT <vscale x N x i16>
Occurrences:216 in 12 configs, 10 test files
Snippet from:vor-sdnode.ll @vor_vx_nxv1i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x i16> @vor_vx_nxv1i16(<vscale x 1 x i16> %va, i16 signext %b) {
  %head = insertelement <vscale x 1 x i16> poison, i16 %b, i32 0
  %splat = shufflevector <vscale x 1 x i16> %head, <vscale x 1 x i16> poison, <vscale x 1 x i32> zeroinitializer
  %vc = or <vscale x 1 x i16> %va, %splat
  ret <vscale x 1 x i16> %vc
}

Reproduce:

llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %8:_(i16) = G_EXTRACT_VECTOR_ELT %4:_(<vscale x 1 x i16>), %7:_(i32) (in function: vor_vx_nxv1i16)
warning: Instruction selection used fallback path for vor_vx_nxv1i16

Occurrences (216) (first 15):

InputFunctionConfig
binop-splats.llnxv1i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv2i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv4i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv8i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv16i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv32i16-mtriple=riscv32 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv1i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv2i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv4i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv8i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv16i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
binop-splats.llnxv32i16-mtriple=riscv64 -mattr=+v,+zfh,+zvfh -verify-machineinstrs
vadd-sdnode.llvadd_vx_nxv1i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vadd-sdnode.llvadd_vx_nxv2i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vadd-sdnode.llvadd_vx_nxv4i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.