fallback: translate: insertelement <N x i16>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: insertelement <N x i16> M
Occurrences:5 in 4 configs, 4 test files, 4 more counted only
Snippet from:rvp-simd-32.05b6ed807d.ll (mutant of rvp-simd-32.ll) @test_padd_hs_splat_rhs via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i16> @test_padd_hs_splat_rhs(<2 x i16> %a, i16 %b) {
  %I = insertelement <2 x i16> %a, i16 %b, i32 0
  %res = add <2 x i16> %a, %I
  ret <2 x i16> %res
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: insertelement: '  %I = insertelement <2 x i16> %a, i16 %b, i32 0' (in function: test_padd_hs_splat_rhs)
warning: Instruction selection used fallback path for test_padd_hs_splat_rhs

Occurrences (5):

InputFunctionConfig
fixed-vectors-vror.917b64e388.ll (mutant of fixed-vectors-vror.ll)vror_vx_v8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1
fixed-vectors-vwsll.047f6d2b2c.ll (mutant of fixed-vectors-vwsll.ll)vwsll_vx_i16_v16i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
rvp-simd-32.05b6ed807d.ll (mutant of rvp-simd-32.ll)test_padd_hs_splat_rhs-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3
rvp-simd-32.05b6ed807d.ll (mutant of rvp-simd-32.ll)test_psrl_hs-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3
rvp-simd-64.1c56d80e.b7931e7690.ll (mutant of rvp-simd-64.1c56d80e.ll)test_pslide1down_v4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O1

Generated 2026-11-29 14:49 UTC.