fallback: legalize: G_SREM <8 x s8>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_SREM <8 x s8>
Occurrences:13 in 12 configs, 4 test files
Snippet from:rvp-simd-64.ll @test_psrem_b via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x i8> @test_psrem_b(<8 x i8> %a, <8 x i8> %b) {
  %res = srem <8 x i8> %a, %b
  ret <8 x i8> %res
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %2:_(<8 x s8>) = G_SREM %0:_, %1:_ (in function: test_psrem_b)
warning: Instruction selection used fallback path for test_psrem_b

Occurrences (13):

InputFunctionConfig
rvp-simd-64.lltest_psrem_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
double-mem.0d11c32f69.ll (mutant of double-mem.ll)fld_fsd_global-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
double-mem.12c60da39a.ll (mutant of double-mem.ll)fld_fsd_global-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
double-mem.26958ad2ec.ll (mutant of double-mem.ll)fld_fsd_global-mtriple=riscv32 -mattr=+zdinx,+zilsd -verify-machineinstrs -target-abi=ilp32
double-mem.29b022b658.ll (mutant of double-mem.ll)fld_fsd_global-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-mem.2dadb96ebb.ll (mutant of double-mem.ll)fld_fsd_global-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
stack-realignment.2664624f1b.ll (mutant of stack-realignment.ll)caller1024-mtriple=riscv32 -verify-machineinstrs
stack-realignment.4a0b2ccdee.ll (mutant of stack-realignment.ll)caller1024-mtriple=riscv64 -verify-machineinstrs
stack-realignment.a69f90b658.ll (mutant of stack-realignment.ll)caller1024-mtriple=riscv64 -target-abi lp64e -verify-machineinstrs
stack-realignment.fadaf5f8d6.ll (mutant of stack-realignment.ll)caller1024-mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs
xqcisls.16c16815fd.ll (mutant of xqcisls.ll)lrd_2-mtriple=riscv32 -verify-machineinstrs
xqcisls.4e697534ff.ll (mutant of xqcisls.ll)lrd_2-mtriple=riscv32 --mattr=+zba -verify-machineinstrs
xqcisls.fa38af4f13.ll (mutant of xqcisls.ll)lrd_2-mtriple=riscv32 -mattr=+zba,+xqcisls -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.