fallback: translate: fsub bfloat

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: fsub bfloat M
Occurrences:3 in 3 configs, 3 test files, 8 more counted only
Snippet from:fold-addi-loadstore.fa20e4946f.ll (mutant of fold-addi-loadstore.ll) @load_g_8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+c -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@g_8 = external dso_local global i64, align 8

; Function Attrs: nounwind
define dso_local i64 @load_g_8() #0 {
entry:
  %B = fsub bfloat 3.389530e+38, 9.183550e-41
  %0 = load i64, ptr @g_8, align 4
  store bfloat %B, ptr poison, align 2
  ret i64 %0
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
float-fcmp.788a588d05.ll (mutant of float-fcmp.ll)fcmp_true-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O3
fold-addi-loadstore.fa20e4946f.ll (mutant of fold-addi-loadstore.ll)load_g_8-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+c -O0
rv64zfh-half-convert-strict.18ac0fd183.ll (mutant of rv64zfh-half-convert-strict.ll)sext_fptosi-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.