fallback: translate: srem <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: srem <N x i8> M
Occurrences:5 in 5 configs, 5 test files, 7 more counted only
Snippet from:rvp-bitreverse-zbkb.45b16927dc.ll (mutant of rvp-bitreverse-zbkb.ll) @test_bitreverse_v8i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zbkb,+zdinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x i8> @test_bitreverse_v8i8(<8 x i8> %a) {
  %B = srem <8 x i8> %a, splat (i8 42)
  ret <8 x i8> %B
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zbkb,+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zbkb,+zdinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: srem: '  %B = srem <8 x i8> %a, splat (i8 42)' (in function: test_bitreverse_v8i8)
warning: Instruction selection used fallback path for test_bitreverse_v8i8

Occurrences (5):

InputFunctionConfig
branch-relaxation-rv64.916630eea5.ll (mutant of branch-relaxation-rv64.ll)relax_bcc-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zihintpause -O1
fixed-vectors-bitinsert.2f29f236aa.ll (mutant of fixed-vectors-bitinsert.ll)test_bitinsert_v4i8_const-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs
fixed-vectors-vaaddu.51a8929f27.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vv_v8i8_ceil-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
half-fcmp-strict.4cf9a14303.ll (mutant of half-fcmp-strict.ll)fcmp_ult-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinxmin -O3 -code-model=medium
rvp-bitreverse-zbkb.45b16927dc.ll (mutant of rvp-bitreverse-zbkb.ll)test_bitreverse_v8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zbkb,+zdinx -O0

Generated 2026-11-29 14:49 UTC.