fallback: translate: urem <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: urem <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 15 more counted only
Snippet from:srodata.b44e5d1938.ll (mutant of srodata.ll) @foo via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define dso_local double @foo() {
entry:
  %B = urem <2 x i64> zeroinitializer, splat (i64 9223372036854775807)
  store <2 x i64> %B, ptr poison, align 16
  %B1 = mul <2 x i64> %B, %B
  store <2 x i64> %B1, ptr poison, align 16
  ret double f0x400A08AC91C3E242
}

!llvm.module.flags = !{!0}

!0 = !{i32 8, !"SmallDataLimit", i32 8}

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs -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 9223372036854775807)' (in function: foo)
warning: Instruction selection used fallback path for foo

Occurrences (3):

InputFunctionConfig
double-arith-strict.094048a6b8.ll (mutant of double-arith-strict.ll)fadd_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx,+zbb,+a -O2
llvm.frexp.675fc6fd1d.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O1
srodata.b44e5d1938.ll (mutant of srodata.ll)foo-mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.