fallback: translate: urem <N x i64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: urem <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 6 more counted only
Snippet from:fold-addi-loadstore.56db747005.ll (mutant of fold-addi-loadstore.ll) @load_tl_8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@tl_8 = external dso_local thread_local global i64, align 8
@G.1 = external global <2 x i64>

; Function Attrs: nounwind
define dso_local i64 @load_tl_8() #0 {
entry:
  %B = urem <2 x i64> splat (i64 -9223372036854775808), splat (i64 -1)
  %0 = load i64, ptr @tl_8, align 4
  store <2 x i64> %B, ptr @G.1, align 16
  ret i64 %0
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
allow-check.3041d0f1fa.ll (mutant of allow-check.ll)test_ubsan-mtriple=riscv32 -fast-isel=0 -mattr=+zfinx -O2 -verify-machineinstrs
fastcc-without-f-reg.eaa8bfc7f8.ll (mutant of fastcc-without-f-reg.ll)caller_float_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zve32x -O1
fold-addi-loadstore.56db747005.ll (mutant of fold-addi-loadstore.ll)load_tl_8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.