fallback: translate: mul <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: mul <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 7 more counted only
Snippet from:fixed-vectors-vnmsac-vp.1ba3eb19e3.ll (mutant of fixed-vectors-vnmsac-vp.ll) @vnmsac_vv_nxv8i8_ta via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

define <8 x i8> @vnmsac_vv_nxv8i8_ta(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c, <8 x i1> %m, i32 zeroext %evl) {
  %x = mul <8 x i8> %a, %b
  %B = sdiv i8 0, -128
  %y = sub <8 x i8> %c, %x
  %u = select <8 x i1> %m, <8 x i8> %y, <8 x i8> %c
  store i8 %B, ptr @G, align 1
  ret <8 x i8> %u
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
double-intrinsics-strict.b77f1c269c.ll (mutant of double-intrinsics-strict.ll)ldexp_f64-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx -O3
fixed-vectors-vnmsac-vp.1ba3eb19e3.ll (mutant of fixed-vectors-vnmsac-vp.ll)vnmsac_vv_nxv8i8_ta-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3
tagged-globals.9130ad8658.ll (mutant of tagged-globals.ll)global_addr-mtriple=riscv64 --relocation-model=static -mattr=+zdinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.