fallback: translate: fdiv <N x float>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: fdiv <N x float> M
Occurrences:3 in 3 configs, 3 test files, 14 more counted only
Snippet from:hoist-global-addr-base.b5669ce325.ll (mutant of hoist-global-addr-base.ll) @big_offset_neg_addi via llvm-extract
Config:-mtriple=riscv32 -mattr=+zba,+zbkb,+zdinx -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@g = external global [1048576 x i8], align 1

; Function Attrs: nounwind
define ptr @big_offset_neg_addi() #0 {
  %B = fdiv <4 x float> zeroinitializer, splat (float 4.200000e+01)
  store <4 x float> %B, ptr poison, align 16
  ret ptr getelementptr inbounds ([1048576 x i8], ptr @g, i32 0, i32 73568)
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fp-fcanonicalize.48215da4a1.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f32-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3
hoist-global-addr-base.b5669ce325.ll (mutant of hoist-global-addr-base.ll)big_offset_neg_addi-mtriple=riscv32 -mattr=+zba,+zbkb,+zdinx -O0 -verify-machineinstrs
short-forward-branch-opt-with-branch-with-immediates_48_eq.55259c7a2c.ll (mutant of short-forward-branch-opt-with-branch-with-immediates_48_eq.ll)branch_with_immSFB_shl-verify-machineinstrs -mtriple=riscv32 -mattr=+zhinx -O0

Generated 2026-11-29 14:49 UTC.