fallback: translate: mul <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: mul <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:rvp-widening-shift.8aafb30f0d.ll (mutant of rvp-widening-shift.ll) @pwslli_v4i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+zbb,+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i16> @llvm.riscv.pwsll.v4i16.v4i8(<4 x i8>, i32) #0

define <4 x i16> @pwslli_v4i8(<4 x i8> %x) {
  %B = mul <4 x i8> %x, %x
  %res = call <4 x i16> @llvm.riscv.pwsll.v4i16.v4i8(<4 x i8> %x, i32 3)
  store <4 x i8> %B, ptr poison, align 4
  ret <4 x i16> %res
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: mul: '  %B = mul <4 x i8> %x, %x' (in function: pwslli_v4i8)
warning: Instruction selection used fallback path for pwslli_v4i8

Occurrences (3):

InputFunctionConfig
half-arith-strict.2ac085c210.ll (mutant of half-arith-strict.ll)fmsub_h-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 -mattr=+zhinx -O3
memcpy-inline.dd6ef12c44.ll (mutant of memcpy-inline.ll)unaligned_memcpy2-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
rvp-widening-shift.8aafb30f0d.ll (mutant of rvp-widening-shift.ll)pwslli_v4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+zbb,+zfinx -O2

Generated 2026-11-29 14:49 UTC.