fallback: translate: sdiv <N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sdiv <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 4 more counted only
Snippet from:float-convert.ab83d43ae0.ll (mutant of float-convert.ll) @fcvt_l_s via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <4 x i32>

; Function Attrs: nounwind
define i64 @fcvt_l_s(float %a) #0 {
  %B = sdiv <4 x i32> splat (i32 2147483647), zeroinitializer
  %1 = fptosi float %a to i64
  store <4 x i32> %B, ptr @G.2, align 16
  ret i64 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
float-convert-strict.1e4930cf37.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zfinx,+zvkb -O1
float-convert.ab83d43ae0.ll (mutant of float-convert.ll)fcvt_l_s-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
prefetch.ba2d491544.ll (mutant of prefetch.ll)test_prefetch_constant_address_1-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.