fallback: legalize: G_EXTRACT_SUBVECTOR <N x i8>,<vscale x N x i8>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_EXTRACT_SUBVECTOR <N x i8>,<vscale x N x i8>
Occurrences:28 in 6 configs, 5 test files
Snippet from:fixed-vectors-store.ll @store_v5i8 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @store_v5i8(ptr %p, <5 x i8> %v) {
  store <5 x i8> %v, ptr %p, align 8
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1:_(<5 x i8>) = G_EXTRACT_SUBVECTOR %2:_(<vscale x 4 x i8>), 0 (in function: store_v5i8)
warning: Instruction selection used fallback path for store_v5i8

Occurrences (28) (first 15):

InputFunctionConfig
nontemporal.lltest_nontemporal_store_v16i8-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_P1_store_v16i8-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_PALL_store_v16i8-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_S1_store_v16i8-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_ALL_store_v16i8-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_store_v16i8-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_P1_store_v16i8-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_PALL_store_v16i8-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_S1_store_v16i8-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_ALL_store_v16i8-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
fixed-vectors-store.llstore_v5i8-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-store.llstore_v5i8_align1-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-store.llstore_v6i8-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-store.llstore_v12i8-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-store.llstore_v5i8-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.