fallback: legalize: G_UREM <2 x s64>

Run:main-bc8218b282-20261015-074651
Kind:fallback
Category:legalize: G_UREM <2 x s64> NEW
Occurrences:11 in 11 configs, 3 test files
Snippet from:xqcics.b3e993a8bf.ll (mutant of xqcics.ll) @select_cc_example_ieqi_c3 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/dsrch3fjv (llc-assertions-trunk, checked 2026-10-14 11:04 UTC): G reproduces

Snippet:

define <2 x i64> @select_cc_example_ieqi_c3() {
entry:
  %B = urem <2 x i64> splat (i64 1), zeroinitializer
  ret <2 x i64> %B
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*01remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_UREM %1:_, %3:_ (in function: select_cc_example_ieqi_c3)
warning: Instruction selection used fallback path for select_cc_example_ieqi_c3
SelectionDAG (control)-mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs -global-isel=001-

Reproduce:

llc -mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_UREM %1:_, %3:_ (in function: select_cc_example_ieqi_c3)
warning: Instruction selection used fallback path for select_cc_example_ieqi_c3

Occurrences (11):

InputFunctionConfig
memcpy.1af463e8b6.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv32 -mattr=+unaligned-scalar-mem
memcpy.2ab4f8da83.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv32 -mcpu=andes-a45 -mtune=rocket
memcpy.57847425a7.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv64
memcpy.a42104c78d.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv32
memcpy.c716dd75fe.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv64 -mattr=+unaligned-scalar-mem
memcpy.d28febd82f.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv64 -mcpu=andes-ax45 -mtune=rocket
xcvmem.6471bbc119.ll (mutant of xcvmem.ll)lw_ri_inc_neg-O3 -mtriple=riscv32 -mattr=+xcvmem -verify-machineinstrs
xqcics.b3e993a8bf.ll (mutant of xqcics.ll)select_cc_example_ieqi_c3-mtriple=riscv32 -mattr=+xqcics -verify-machineinstrs
xqcics.d5a031d7a7.ll (mutant of xqcics.ll)select_cc_example_ieqi_c3-mtriple=riscv32 -verify-machineinstrs
xqcics.de5f7db236.ll (mutant of xqcics.ll)select_cc_example_ieqi_c3-mtriple=riscv32 -mattr=+xqcicm,+xqcics,+xqcicli,+zca,+short-forward-branch-ialu,+conditional-cmv-fusion -verify-machineinstrs
xqcics.ec46d23e1c.ll (mutant of xqcics.ll)select_cc_example_ieqi_c3-mtriple=riscv32 -mattr=+xqcics,+xqcicm -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.