fallback: translate: fdiv bfloat
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: fdiv bfloat M |
| Occurrences: | 3 in 3 configs, 3 test files, 9 more counted only |
| Snippet from: | xqcisls.e6def559df.ll (mutant of xqcisls.ll) @lh_ri via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global bfloat
define i32 @lh_ri(ptr %a, i32 %b) {
%B = fdiv bfloat 9.183550e-41, 1.000000e+00
%shl = shl i32 %b, 4
%1 = getelementptr i16, ptr %a, i32 %shl
%2 = load i16, ptr %1, align 2
%3 = sext i16 %2 to i32
store bfloat %B, ptr @G.1, align 2
ret i32 %3
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fdiv: ' %B = fdiv bfloat 9.183550e-41, 1.000000e+00' (in function: lh_ri)
warning: Instruction selection used fallback path for lh_ri
Occurrences (3):
| Input | Function | Config |
|---|
| half-fcmp-strict.019fd400ed.ll (mutant of half-fcmp-strict.ll) | fcmp_oeq | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinxmin,+zihintpause -O3 |
| ssub_sat.b3be6d01aa.ll (mutant of ssub_sat.ll) | func | -mtriple=riscv32 -mattr=+m,+zfinx -O1 -verify-machineinstrs |
| xqcisls.e6def559df.ll (mutant of xqcisls.ll) | lh_ri | -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small |
Generated 2026-11-29 14:49 UTC.