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

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:legalize: G_EXTRACT_SUBVECTOR <N x i64>,<vscale x N x i64>
Occurrences:58 in 14 configs, 5 test files
Snippet from:fixed-vectors-extload-truncstore.ll @truncstore_v2i64_v2i8 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @truncstore_v2i64_v2i8(<2 x i64> %x, ptr %z) {
  %y = trunc <2 x i64> %x to <2 x i8>
  store <2 x i8> %y, ptr %z, align 2
  ret void
}

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: %0:_(<2 x i64>) = G_EXTRACT_SUBVECTOR %2:_(<vscale x 1 x i64>), 0 (in function: truncstore_v2i64_v2i8)
warning: Instruction selection used fallback path for truncstore_v2i64_v2i8

Occurrences (58) (first 15):

InputFunctionConfig
nontemporal.lltest_nontemporal_store_v2i64-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_P1_store_v2i64-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_PALL_store_v2i64-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_S1_store_v2i64-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_ALL_store_v2i64-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_store_v2i64-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_P1_store_v2i64-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_PALL_store_v2i64-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_S1_store_v2i64-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
nontemporal.lltest_nontemporal_ALL_store_v2i64-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v
fixed-vectors-extload-truncstore.lltruncstore_v2i64_v2i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-extload-truncstore.lltruncstore_v2i64_v2i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-extload-truncstore.lltruncstore_v2i64_v2i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-extload-truncstore.lltruncstore_v4i64_v4i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-extload-truncstore.lltruncstore_v4i64_v4i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.