fallback: translate: fadd bfloat
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: fadd bfloat M |
| Occurrences: | 3 in 3 configs, 3 test files, 6 more counted only |
| Snippet from: | half-convert.552551a07b.ll (mutant of half-convert.ll) @fcvt_h_s via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+a -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global bfloat
; Function Attrs: nounwind
define half @fcvt_h_s(float %a) #0 {
%B = fadd bfloat 3.389530e+38, 9.183550e-41
%1 = fptrunc float %a to half
store bfloat %B, ptr @G.1, align 2
ret half %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+a -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+a -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fadd: ' %B = fadd bfloat 3.389530e+38, 9.183550e-41' (in function: fcvt_h_s)
warning: Instruction selection used fallback path for fcvt_h_s
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vadd-vp-mask.ddde062555.ll (mutant of fixed-vectors-vadd-vp-mask.ll) | vadd_vv_v64i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 |
| half-convert.552551a07b.ll (mutant of half-convert.ll) | fcvt_h_s | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+a -O0 |
| min-max.068324be74.ll (mutant of min-max.ll) | smax_i32_pos_constant | -mtriple=riscv64 -mattr=+zfinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.