fallback: translate: sdiv <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: sdiv <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 12 more counted only
Snippet from:half-imm.81b1e0a964.ll (mutant of half-imm.ll) @half_negative_zero via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+m,+zbkb -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <8 x i8>

; Function Attrs: nounwind
define half @half_negative_zero(ptr %pf) #0 {
  %B = sdiv <8 x i8> splat (i8 -128), zeroinitializer
  store <8 x i8> %B, ptr @G.3, align 8
  ret half -0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sdiv: '  %B = sdiv <8 x i8> splat (i8 -128), zeroinitializer' (in function: half_negative_zero)
warning: Instruction selection used fallback path for half_negative_zero

Occurrences (3):

InputFunctionConfig
half-convert.56b243ff59.ll (mutant of half-convert.ll)fcvt_l_h-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinxmin -O1 -code-model=small
half-imm.81b1e0a964.ll (mutant of half-imm.ll)half_negative_zero-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+m,+zbkb -O2
rv64-half-convert-strict.93c5aeb95a.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx -O1

Generated 2026-11-29 14:49 UTC.