fallback: translate: fdiv bfloat
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: fdiv bfloat M |
| Occurrences: | 3 in 3 configs, 3 test files, 15 more counted only |
| Snippet from: | atomic-load-store.8d5c4eea8b.ll (mutant of atomic-load-store.ll) @atomic_load_i16_acquire via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zhinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global bfloat
; Function Attrs: nounwind
define i16 @atomic_load_i16_acquire(ptr %a) #0 {
%B = fdiv bfloat 0.000000e+00, 0.000000e+00
%1 = load atomic i16, ptr %a acquire, align 2
store bfloat %B, ptr @G.3, align 2
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fdiv: ' %B = fdiv bfloat 0.000000e+00, 0.000000e+00' (in function: atomic_load_i16_acquire)
warning: Instruction selection used fallback path for atomic_load_i16_acquire
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-store.8d5c4eea8b.ll (mutant of atomic-load-store.ll) | atomic_load_i16_acquire | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zhinx -O2 |
| bswap-bitreverse.7c8b384b6a.ll (mutant of bswap-bitreverse.ll) | test_bswap_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zve32x,+zhinx -O1 |
| double-arith.9dfeda57a6.ll (mutant of double-arith.ll) | fminimumnum_d | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zvbb -O3 |
Generated 2026-11-29 14:49 UTC.