fallback: translate: sdiv <N x i64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sdiv <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:rv64d-double-convert.c8fc3bcf1f.ll (mutant of rv64d-double-convert.ll) @uitofp_aext_i32_to_f64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zfinx -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <2 x i64>

; Function Attrs: nounwind
define double @uitofp_aext_i32_to_f64(i32 %a) #0 {
  %B = sdiv <2 x i64> zeroinitializer, zeroinitializer
  %B1 = ashr i32 %a, %a
  %1 = uitofp i32 %a to double
  store <2 x i64> %B, ptr @G.1, align 16
  store i32 %B1, ptr poison, align 4
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
clmul.042df19dbf.ll (mutant of clmul.ll)mul_use_commutative_clmul_v2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
float-maximum-minimum.dbcde7846b.ll (mutant of float-maximum-minimum.ll)fminimum_f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O1
rv64d-double-convert.c8fc3bcf1f.ll (mutant of rv64d-double-convert.ll)uitofp_aext_i32_to_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zfinx -O3

Generated 2026-11-29 14:49 UTC.