fallback: legalize: G_INSERT_SUBVECTOR <vscale x 4 x s32>,<8 x s32>

Run:main-bc8218b282-20261015-074651
Kind:fallback
Category:legalize: G_INSERT_SUBVECTOR <vscale x 4 x s32>,<8 x s32>
Occurrences:10 in 2 configs, 2 test files
Snippet from:zero-call-used-regs-v.ll @used_arg_lmul2 via llvm-extract
Config:-verify-machineinstrs -mtriple=riscv64 -mattr=+v
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x i32> @used_arg_lmul2(<8 x i32> %a, <8 x i32> %b) #0 {
entry:
  %sum = add <8 x i32> %a, %b
  ret <8 x i32> %sum
}

attributes #0 = { "zero-call-used-regs"="used-arg" }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<vscale x 4 x s32>) = G_INSERT_SUBVECTOR %5:_, %4:_(<8 x s32>), 0 (in function: used_arg_lmul2)
warning: Instruction selection used fallback path for used_arg_lmul2

Occurrences (10):

InputFunctionConfig
vmadd-reassociate.llvmadd_non_constant-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.llvmadd_fixed_no_chain-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.llvmadd_fixed-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.llvmadd_fixed_long-mtriple=riscv64 -mattr=+m,+v
zero-call-used-regs-v.llused_arg_lmul2-verify-machineinstrs -mtriple=riscv64 -mattr=+v
vmadd-reassociate.37b5a79f30.ll (mutant of vmadd-reassociate.ll)vmadd_fixed_no_chain-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.7265d3bc28.ll (mutant of vmadd-reassociate.ll)vmadd_fixed-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.7c4367ed38.ll (mutant of vmadd-reassociate.ll)vmadd_fixed-mtriple=riscv64 -mattr=+m,+v
vmadd-reassociate.7c4367ed38.ll (mutant of vmadd-reassociate.ll)vmadd_fixed_long-mtriple=riscv64 -mattr=+m,+v
zero-call-used-regs-v.311049b538.ll (mutant of zero-call-used-regs-v.ll)used_arg_lmul2-verify-machineinstrs -mtriple=riscv64 -mattr=+v

Generated 2026-10-15 08:05 UTC.