fallback: legalize: G_UREM <8 x s8>

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_UREM <8 x s8>
Occurrences:18 in 18 configs, 5 test files
Snippet from:rvp-simd-64.ll @test_purem_b via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x i8> @test_purem_b(<8 x i8> %a, <8 x i8> %b) {
  %res = urem <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_UREM %0:_, %1:_ (in function: test_purem_b)
warning: Instruction selection used fallback path for test_purem_b

Occurrences (18):

InputFunctionConfig
rvp-simd-64.lltest_purem_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
memset-inline.3d86a627bf.ll (mutant of memset-inline.ll)aligned_memset_2-mtriple=riscv32 -mattr=+m
memset-inline.602b95b589.ll (mutant of memset-inline.ll)aligned_memset_2-mtriple=riscv64 -mattr=+m
memset-inline.6257b2f4c0.ll (mutant of memset-inline.ll)aligned_memset_2-mtriple=riscv64 -mattr=+m,+unaligned-scalar-mem
memset-inline.efd4d8d953.ll (mutant of memset-inline.ll)aligned_memset_2-mtriple=riscv32 -mattr=+m,+unaligned-scalar-mem
rotl-rotr.137926ebc7.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv32 -mattr=+xtheadbb -verify-machineinstrs
rotl-rotr.49920400bc.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv32 -mattr=+zbb -verify-machineinstrs
rotl-rotr.5b490a01a0.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv64 -mattr=+xtheadbb -verify-machineinstrs
rotl-rotr.7b0d4b3dfb.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv64 -verify-machineinstrs -enable-legalize-types-checking
rotl-rotr.a6dc7eba6b.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv64 -mattr=+zbb -verify-machineinstrs
rotl-rotr.bbac2c1474.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv32 -verify-machineinstrs
sextw-removal.071c9914b8.ll (mutant of sextw-removal.ll)test8-mtriple=riscv64 -mattr=+m,+f,+zknh,+v -target-abi=lp64f
sextw-removal.8a1adc791b.ll (mutant of sextw-removal.ll)test8-mtriple=riscv64 -mattr=+m,+zba,+zbb,+zbkb,+f,+zknh,+v -target-abi=lp64f
sextw-removal.bb3b47d69e.ll (mutant of sextw-removal.ll)test8-mtriple=riscv64 -mattr=+m,+zba,+zbb,+zbkb,+f,+zknh,+v -target-abi=lp64f -riscv-sextw-removal=0
signed-truncation-check.2669a7d8f9.ll (mutant of signed-truncation-check.ll)add_ugecmp_i32_i16_i8-mtriple=riscv32-unknown-linux-gnu -mattr=+zbb
signed-truncation-check.dcc6675900.ll (mutant of signed-truncation-check.ll)add_ugecmp_i32_i16_i8-mtriple=riscv64-unknown-linux-gnu -mattr=+zbb
signed-truncation-check.f003e59f69.ll (mutant of signed-truncation-check.ll)add_ugecmp_i32_i16_i8-mtriple=riscv64-unknown-linux-gnu
signed-truncation-check.fa171eac00.ll (mutant of signed-truncation-check.ll)add_ugecmp_i32_i16_i8-mtriple=riscv32-unknown-linux-gnu

Generated 2026-10-15 08:05 UTC.