fallback: translate: srem <N x i64>

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: srem <N x i64> M
Occurrences:5 in 5 configs, 3 test files
Snippet from:calllowering-zfinx-zhinx.8c2a33e599.ll (mutant of calllowering-zfinx-zhinx.ll) @callee_half via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @callee_half(half %x, half %y) #0 {
  %B = srem <2 x i64> splat (i64 9223372036854775807), splat (i64 9223372036854775807)
  store <2 x i64> %B, ptr poison, align 16
  ret half %y
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
calllowering-zfinx-zhinx.8c2a33e599.ll (mutant of calllowering-zfinx-zhinx.ll)callee_half-mtriple=riscv64 -mattr=+zhinx
calllowering-zfinx-zhinx.fc4b75a61f.ll (mutant of calllowering-zfinx-zhinx.ll)callee_half-mtriple=riscv32 -mattr=+zhinx
double-imm.c9f4f7ec56.ll (mutant of double-imm.ll)double_positive_zero-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-imm.ff176359cb.ll (mutant of double-imm.ll)double_positive_zero-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
rv32-move-merge.bb8908a070.ll (mutant of rv32-move-merge.ll)pli_b_pair_negative-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.