fallback: legalize: G_UREM <N x i32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_UREM <N x i32>
Occurrences:134 in 97 configs, 53 test files
Snippet from:rvp-simd-64.ll @test_purem_w via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i32> @test_purem_w(<2 x i32> %a, <2 x i32> %b) {
  %res = urem <2 x i32> %a, %b
  ret <2 x i32> %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:_(<2 x i32>) = G_UREM %0:_, %1:_ (in function: test_purem_w)
warning: Instruction selection used fallback path for test_purem_w

Occurrences (134) (first 15):

InputFunctionConfig
rvp-simd-64.lltest_purem_w-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
fixed-vectors-int.llurem_v4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v8i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_vx_v4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v8i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_vx_v4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
sink-splat-operands.llsink_splat_urem-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
bfloat-imm.5b33d26803.ll (mutant of bfloat-imm.ll)bfloat_negative_zero-mtriple=riscv32 -mattr=+zfbfmin -verify-machineinstrs -target-abi ilp32f
bfloat-imm.8be98f7500.ll (mutant of bfloat-imm.ll)bfloat_negative_zero-mtriple=riscv64 -mattr=+zfbfmin -verify-machineinstrs -target-abi lp64f
calling-conv-ilp32-ilp32f-common.33f5e5d8cb.ll (mutant of calling-conv-ilp32-ilp32f-common.ll)caller_aligned_stack-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all
calling-conv-ilp32-ilp32f-common.57d006acf6.ll (mutant of calling-conv-ilp32-ilp32f-common.ll)caller_aligned_stack-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all -mattr=+f -target-abi ilp32f
calling-conv-ilp32-ilp32f-common.5d6c66e7fc.ll (mutant of calling-conv-ilp32-ilp32f-common.ll)caller_aligned_stack-mtriple=riscv32 -verify-machineinstrs
calling-conv-ilp32-ilp32f-common.7423bb1778.ll (mutant of calling-conv-ilp32-ilp32f-common.ll)caller_aligned_stack-mtriple=riscv32 -mattr=+f -target-abi ilp32f -verify-machineinstrs
calling-conv-ilp32.60dcaebf1d.ll (mutant of calling-conv-ilp32.ll)caller_float_on_stack-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all

Generated 2026-11-29 14:49 UTC.