fallback: translate: fdiv <N x float>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: fdiv <N x float> M
Occurrences:4 in 4 configs, 2 test files, 12 more counted only
Snippet from:fastcc-without-f-reg.ce474eb9fb.ll (mutant of fastcc-without-f-reg.ll) @callee_float_32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define fastcc float @callee_float_32(<32 x float> %A) #0 {
  %B1 = fdiv <32 x float> %A, splat (float 4.200000e+01)
  %B = extractelement <32 x float> %B1, i32 0
  ret float %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fdiv: '  %B1 = fdiv <32 x float> %A, splat (float 4.200000e+01)' (in function: callee_float_32)
warning: Instruction selection used fallback path for callee_float_32

Occurrences (4):

InputFunctionConfig
fastcc-without-f-reg.8beefb8014.ll (mutant of fastcc-without-f-reg.ll)callee_float_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zba,+zicond -O2 -code-model=small
fastcc-without-f-reg.ce474eb9fb.ll (mutant of fastcc-without-f-reg.ll)callee_float_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
fastcc-without-f-reg.f3ac416c86.ll (mutant of fastcc-without-f-reg.ll)callee_half_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+a -O0
fp-fcanonicalize.796710973d.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx,+xtheadba,+zba -O2

Generated 2026-11-29 14:49 UTC.