fallback: translate: udiv <N x i32>

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

Snippet:

@G = external global <4 x i32>

; Function Attrs: nounwind
define half @half_negative_zero(ptr %pf) #0 {
  %B = udiv <4 x i32> zeroinitializer, splat (i32 65536)
  store <4 x i32> %B, ptr @G, align 16
  ret half -0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
double-intrinsics.ccc82167f4.ll (mutant of double-intrinsics.ll)test_modf_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O0
half-imm.a499ebab98.ll (mutant of half-imm.ll)half_negative_zero-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2
shifts.f4011daaf5.ll (mutant of shifts.ll)lshr128-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2

Generated 2026-11-29 14:49 UTC.