fallback: translate: fcmp <N x half>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: fcmp <N x half> M |
| Occurrences: | 6 in 6 configs, 2 test files, 25 more counted only |
| Snippet from: | fastcc-without-f-reg.3318aa029f.ll (mutant of fastcc-without-f-reg.ll) @callee_half_32 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zcb -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global <32 x i1>
; Function Attrs: nounwind
define fastcc half @callee_half_32(<32 x half> %A) #0 {
%C = fcmp oge <32 x half> %A, %A
%B = extractelement <32 x half> %A, i32 0
store <32 x i1> %C, ptr @G.2, align 4
ret half %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zcb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zcb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fcmp: ' %C = fcmp oge <32 x half> %A, %A' (in function: callee_half_32)
warning: Instruction selection used fallback path for callee_half_32
Occurrences (6):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.3318aa029f.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zcb -O3 |
| fastcc-without-f-reg.5e1e6e9a34.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 -code-model=medium |
| fp-fcanonicalize.3ea271b8b9.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v8f16_nnan | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zihintpause -O1 |
| fp-fcanonicalize.78e1b4a780.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v4f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O2 -code-model=medium |
| fp-fcanonicalize.97c07d5de4.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v8f16_nnan | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 |
| fp-fcanonicalize.afc330a298.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v8f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+m -O0 |
Generated 2026-11-29 14:49 UTC.