fallback: translate: urem <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: urem <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 11 more counted only
Snippet from:half-select-fcmp.e56a45edf9.ll (mutant of half-select-fcmp.ll) @select_fcmp_ule via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.6 = external global <2 x i64>

; Function Attrs: nounwind
define half @select_fcmp_ule(half %a, half %b) #0 {
  %B = urem <2 x i64> zeroinitializer, splat (i64 4294967296)
  %1 = fcmp ule half %a, %b
  %2 = select i1 %1, half %a, half %b
  store <2 x i64> %B, ptr @G.6, align 16
  ret half %2
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: urem: '  %B = urem <2 x i64> zeroinitializer, splat (i64 4294967296)' (in function: select_fcmp_ule)
warning: Instruction selection used fallback path for select_fcmp_ule

Occurrences (4):

InputFunctionConfig
double-previous-failure.810714b74f.ll (mutant of double-previous-failure.ll)test-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zdinx -O2 -code-model=small
half-round-conv.0e04a295f4.ll (mutant of half-round-conv.ll)test_trunc_si64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O2
half-select-fcmp.e56a45edf9.ll (mutant of half-select-fcmp.ll)select_fcmp_ule-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2
memcpy.fa03a2c84c.ll (mutant of memcpy.ll)unaligned_memcpy2-mtriple=riscv32 -mattr=+zfinx,+zbkb -O3 -code-model=medium -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.