fallback: translate: fadd bfloat

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: fadd bfloat M
Occurrences:4 in 4 configs, 4 test files, 17 more counted only
Snippet from:double-calling-conv.1b8d105571.ll (mutant of double-calling-conv.ll) @caller_double_stack via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zdinx,+zihintpause -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
declare double @callee_double_stack(i64, i64, i64, i64, double, double) #0

; Function Attrs: nounwind
define double @caller_double_stack() #0 {
  %B = fadd bfloat 3.389530e+38, +qnan
  %1 = call double @callee_double_stack(i64 1, i64 2, i64 3, i64 4, double 5.720000e+00, double 6.720000e+00)
  store bfloat %B, ptr poison, align 2
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fadd: '  %B = fadd bfloat 3.389530e+38, +qnan' (in function: caller_double_stack)
warning: Instruction selection used fallback path for caller_double_stack

Occurrences (4):

InputFunctionConfig
double-calling-conv.1b8d105571.ll (mutant of double-calling-conv.ll)caller_double_stack-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zdinx,+zihintpause -O3
double-intrinsics.d33324e227.ll (mutant of double-intrinsics.ll)rint_f64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O1
half-intrinsics.d5e7dd96d8.ll (mutant of half-intrinsics.ll)nearbyint_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0
xqcia.e6bed6a7db.ll (mutant of xqcia.ll)addusat-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcia,+zfinx -O0

Generated 2026-11-29 14:49 UTC.