fallback: translate: insertelement <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: insertelement <N x i16> M
Occurrences:8 in 6 configs, 6 test files, 4 more counted only
Snippet from:fixed-vectors-int-splat.f5f3faba9f.ll (mutant of fixed-vectors-int-splat.ll) @splat_v16i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <16 x i16>

define void @splat_v16i16(ptr %x, i16 %y) {
  %a = insertelement <16 x i16> poison, i16 %y, i32 0
  %b = shufflevector <16 x i16> %a, <16 x i16> poison, <16 x i32> zeroinitializer
  store <16 x i16> %b, ptr %x, align 32
  store <16 x i16> %b, ptr @G.1, align 32
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: insertelement: '  %a = insertelement <16 x i16> poison, i16 %y, i32 0' (in function: splat_v16i16)
warning: Instruction selection used fallback path for splat_v16i16

Occurrences (8):

InputFunctionConfig
fixed-vectors-int-splat.f5f3faba9f.ll (mutant of fixed-vectors-int-splat.ll)splat_v16i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
fixed-vectors-vmacc-vp.033bb94b2f.ll (mutant of fixed-vectors-vmacc-vp.ll)vmacc_vx_nxv8i16_ta-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O1
fixed-vectors-vmaxu-vp.8d6addcf08.ll (mutant of fixed-vectors-vmaxu-vp.ll)vmaxu_vx_v8i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
fixed-vectors-vrsub-vp.0038f2add6.ll (mutant of fixed-vectors-vrsub-vp.ll)vrsub_vx_v2i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium
fixed-vectors-vrsub-vp.0038f2add6.ll (mutant of fixed-vectors-vrsub-vp.ll)vrsub_vx_v8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium
fixed-vectors-vshl-vp.1056e605f7.ll (mutant of fixed-vectors-vshl-vp.ll)vsll_vx_v4i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
fixed-vectors-vshl-vp.1056e605f7.ll (mutant of fixed-vectors-vshl-vp.ll)vsll_vx_v16i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
rvp-simd-64.d1814458b3.ll (mutant of rvp-simd-64.ll)test_padd_hs_splat_lhs-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+xtheadba,+zhinx -O1

Generated 2026-11-29 14:49 UTC.