fallback: translate: udiv <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: udiv <N x i32> M
Occurrences:4 in 4 configs, 4 test files, 16 more counted only
Snippet from:double-imm.3bd7ddaf44.ll (mutant of double-imm.ll) @double_negative_zero via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zhinx -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define double @double_negative_zero(ptr %pd) #0 {
  %B = udiv <4 x i32> splat (i32 2147483647), splat (i32 42)
  store <4 x i32> %B, ptr poison, align 16
  ret double -0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zhinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zhinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: udiv: '  %B = udiv <4 x i32> splat (i32 2147483647), splat (i32 42)' (in function: double_negative_zero)
warning: Instruction selection used fallback path for double_negative_zero

Occurrences (4):

InputFunctionConfig
attributes.1c5bb13d15.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zalasr,+zdinx,+xtheadba -O2 -verify-machineinstrs
codemodel-lowering.74d8884dcf.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx,+zhinx,+m -O1
double-imm.3bd7ddaf44.ll (mutant of double-imm.ll)double_negative_zero-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zhinx -O3
half-arith.f5d438d5aa.ll (mutant of half-arith.ll)fmul_h-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+m,+zvkb -O2

Generated 2026-11-29 14:49 UTC.