fallback: legalize: G_UREM <4 x s32>

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_UREM <4 x s32> NEW
Occurrences:105 in 84 configs, 35 test files
Snippet from:rvp-widening-convert.cd935f50b8.ll (mutant of rvp-widening-convert.ll) @test_pwcvtu_v2i16 via llvm-extract + llvm-reduce
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:https://godbolt.org/z/5coqnr3Me (llc-assertions-trunk, checked 2026-10-14 11:04 UTC): G reproduces

Snippet:

define <4 x i32> @test_pwcvtu_v2i16() {
  %B = urem <4 x i32> splat (i32 1), zeroinitializer
  ret <4 x i32> %B
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*01remark: <unknown>:0:0: unable to legalize instruction: %4:_(<4 x s32>) = G_UREM %0:_, %2:_ (in function: test_pwcvtu_v2i16)
warning: Instruction selection used fallback path for test_pwcvtu_v2i16
SelectionDAG (control)-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=001-

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: %4:_(<4 x s32>) = G_UREM %0:_, %2:_ (in function: test_pwcvtu_v2i16)
warning: Instruction selection used fallback path for test_pwcvtu_v2i16

Occurrences (105) (first 50):

InputFunctionConfig
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
calling-conv-ilp32.e4b73cc98a.ll (mutant of calling-conv-ilp32.ll)caller_float_on_stack-mtriple=riscv32 -verify-machineinstrs
calling-conv-lp64.60c55b1e70.ll (mutant of calling-conv-lp64.ll)caller_float_on_stack-mtriple=riscv64 -verify-machineinstrs -frame-pointer=all
calling-conv-lp64.e554c2630e.ll (mutant of calling-conv-lp64.ll)caller_float_on_stack-mtriple=riscv64 -verify-machineinstrs
calling-conv-lp64e.c10b606994.ll (mutant of calling-conv-lp64e.ll)caller_float_on_stack-mtriple=riscv64 -target-abi lp64e -verify-machineinstrs -frame-pointer=all
calling-conv-lp64e.e5b51a60db.ll (mutant of calling-conv-lp64e.ll)caller_float_on_stack-mtriple=riscv64 -target-abi lp64e -verify-machineinstrs
codemodel-lowering.098f922fd7.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.1b5076882b.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.3fb097eb87.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.5d5ca2769e.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.5ddf952ae7.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.ad95e74d02.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.aef2e0584a.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.c34eac5a8b.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.caaacb62e2.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.e067c2436b.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.e63866376c.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs
codemodel-lowering.f1b8af9bc7.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
div_minsize.9aff57df6e.ll (mutant of div_minsize.ll)testsize4-mtriple=riscv32 -mattr=+m -verify-machineinstrs
div_minsize.afec2126f5.ll (mutant of div_minsize.ll)testsize4-mtriple=riscv64 -mattr=+m -verify-machineinstrs
dso_local_equivalent.59c3482d5f.ll (mutant of dso_local_equivalent.ll)f2-mtriple=riscv64
dso_local_equivalent.934a01e708.ll (mutant of dso_local_equivalent.ll)f2-mtriple=riscv32
float-imm.16d155270d.ll (mutant of float-imm.ll)float_negative_zero-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
float-imm.64da757557.ll (mutant of float-imm.ll)float_negative_zero-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
frame-info.10481a3014.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv32 --enable-shrink-wrap=false
frame-info.1114030380.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv32
frame-info.2325de7607.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv64 -frame-pointer=all --enable-shrink-wrap=false -verify-machineinstrs
frame-info.320b6a35d9.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv64 -frame-pointer=all -verify-machineinstrs
frame-info.36380d74e4.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv32 -frame-pointer=all --enable-shrink-wrap=false -verify-machineinstrs
frame-info.69fa4d4476.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv64
frame-info.a07f49b8bc.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv64 --enable-shrink-wrap=false
frame-info.fa8d987d2a.ll (mutant of frame-info.ll)stack_alloc-mtriple=riscv32 -frame-pointer=all -verify-machineinstrs
freeze-load-zext-copytoreg.e8f68af612.ll (mutant of freeze-load-zext-copytoreg.ll)freeze_non_load_cross_bb-mtriple=riscv64
global-merge-minsize-smalldata-nonzero.04452dfed7.ll (mutant of global-merge-minsize-smalldata-nonzero.ll)f1-mtriple=riscv64 -global-merge-min-data-size=0 -verify-machineinstrs
global-merge-minsize-smalldata-nonzero.1e3df4fcd0.ll (mutant of global-merge-minsize-smalldata-nonzero.ll)f1-mtriple=riscv64 -verify-machineinstrs
global-merge-minsize-smalldata-zero.81ceb2e56a.ll (mutant of global-merge-minsize-smalldata-zero.ll)f1-mtriple=riscv64 -global-merge-min-data-size=5 -verify-machineinstrs
global-merge-minsize-smalldata-zero.908729791f.ll (mutant of global-merge-minsize-smalldata-zero.ll)f1-mtriple=riscv32 -verify-machineinstrs
global-merge-minsize.244c43bd59.ll (mutant of global-merge-minsize.ll)f1-mtriple=riscv32 -verify-machineinstrs
global-merge-minsize.47e3b4048c.ll (mutant of global-merge-minsize.ll)f1-mtriple=riscv32 -global-merge-min-data-size=5 -verify-machineinstrs
global-merge.00d513abfb.ll (mutant of global-merge.ll)f1-mtriple=riscv32 -global-merge-on-external=false -verify-machineinstrs
global-merge.0500496eb8.ll (mutant of global-merge.ll)f1-mtriple=riscv32 -verify-machineinstrs
global-merge.63d71ff1af.ll (mutant of global-merge.ll)f1-mtriple=riscv64 -global-merge-on-external=false -verify-machineinstrs
global-merge.7da5f3bcd2.ll (mutant of global-merge.ll)f1-mtriple=riscv64 -verify-machineinstrs
half-imm.2c9965ed70.ll (mutant of half-imm.ll)half_negative_zero-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f

Generated 2026-10-15 08:05 UTC.