fallback: translate: add <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: add <N x i16> M
Occurrences:3 in 3 configs, 3 test files, 4 more counted only
Snippet from:calling-conv-p-ext-vector.52e5c5d37f.ll (mutant of calling-conv-p-ext-vector.ll) @test_exhaust_2xlen_rv32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+xtheadba,+zfinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32

define <4 x i16> @test_exhaust_2xlen_rv32(i64 %dummy, i64 %dummy2, i64 %dummy3, i32 %dummy4, <4 x i16> %b) {
  %res = add <4 x i16> %b, %b
  %B = lshr i32 42, -2147483648
  store i32 %B, ptr @G, align 4
  ret <4 x i16> %res
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: add: '  %res = add <4 x i16> %b, %b' (in function: test_exhaust_2xlen_rv32)
warning: Instruction selection used fallback path for test_exhaust_2xlen_rv32

Occurrences (3):

InputFunctionConfig
calling-conv-p-ext-vector.52e5c5d37f.ll (mutant of calling-conv-p-ext-vector.ll)test_exhaust_2xlen_rv32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+xtheadba,+zfinx -O2
rvp-simd-32.0db626d5.df4fae3c62.ll (mutant of rvp-simd-32.0db626d5.ll)test_maccu_h11_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+zihintpause,+zvkb -O0 -code-model=medium
urem-vector-lkk.0b6b3aa72f.ll (mutant of urem-vector-lkk.ll)combine_urem_udiv-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2

Generated 2026-11-29 14:49 UTC.