fallback: translate: fcmp <32 x bfloat>
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | translate: fcmp <32 x bfloat> NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fastcc-bf16.acbd76cbc5.ll (mutant of fastcc-bf16.ll) @callee via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfbfmin -target-abi=ilp32 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <32 x bfloat>
; Function Attrs: nounwind
define fastcc bfloat @callee(<32 x bfloat> %A) #0 {
%LGV = load <32 x bfloat>, ptr @G, align 64
%A1 = alloca <32 x i1>, align 4
store <32 x i1> poison, ptr %A1, align 4
%C = fcmp ord <32 x bfloat> %A, splat (bfloat +inf)
%B = extractelement <32 x bfloat> %A, i32 0
store <32 x i1> %C, ptr %A1, align 4
%B2 = fsub <32 x bfloat> %A, %LGV
store <32 x bfloat> %B2, ptr @G, align 64
store <32 x bfloat> %LGV, ptr %A1, align 64
ret bfloat %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfbfmin -target-abi=ilp32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfbfmin -target-abi=ilp32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fcmp: ' %C = fcmp ord <32 x bfloat> %A, splat (bfloat +inf)' (in function: callee)
warning: Instruction selection used fallback path for callee
Occurrences (1):
| Input | Function | Config |
|---|
| fastcc-bf16.acbd76cbc5.ll (mutant of fastcc-bf16.ll) | callee | -mtriple=riscv32 -mattr=+zfbfmin -target-abi=ilp32 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.