fallback: legalize: G_UREM <N x i64>

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:legalize: G_UREM <N x i64>
Occurrences:16 in 14 configs, 4 test files
Snippet from:fixed-vectors-int.ll @urem_v2i64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @urem_v2i64(ptr %x, ptr %y) {
  %a = load <2 x i64>, ptr %x, align 16
  %b = load <2 x i64>, ptr %y, align 16
  %c = urem <2 x i64> %a, %b
  store <2 x i64> %c, ptr %x, align 16
  ret void
}

Reproduce:

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

Local llc output:

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

Occurrences (16) (first 15):

InputFunctionConfig
fixed-vectors-int.llurem_v2i64-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v4i64-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v2i64-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.llurem_v4i64-mtriple=riscv64 -mattr=+v -verify-machineinstrs
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.a31c36065f.ll (mutant of memcpy.ll)aligned_memcpy4-mtriple=riscv32 -mcpu=chipsalliance-veer-eh1 -mtune=rocket
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

Generated 2026-11-29 14:49 UTC.