fallback: translate: fmul bfloat

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: fmul bfloat M
Occurrences:3 in 3 configs, 3 test files, 16 more counted only
Snippet from:double-arith.4c4111c945.ll (mutant of double-arith.ll) @fsub_d via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+a -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global bfloat

; Function Attrs: nounwind
define double @fsub_d(double %a, double %b) #0 {
  %B1 = fmul bfloat 9.183550e-41, 3.389530e+38
  %B = fadd double %b, %a
  %1 = fsub double %B, %b
  store bfloat %B1, ptr @G.2, align 2
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fmul: '  %B1 = fmul bfloat 9.183550e-41, 3.389530e+38' (in function: fsub_d)
warning: Instruction selection used fallback path for fsub_d

Occurrences (3):

InputFunctionConfig
double-arith.4c4111c945.ll (mutant of double-arith.ll)fsub_d-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+a -O3
half-convert.dd4be76608.ll (mutant of half-convert.ll)fcvt_wu_s_sat_i16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbkb -O0
half-fcmp-strict.ae34e329f6.ll (mutant of half-fcmp-strict.ll)fcmp_uge-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx -O2

Generated 2026-11-29 14:49 UTC.