fallback: translate: fcmp <N x half>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: fcmp <N x half> M |
| Occurrences: | 4 in 4 configs, 2 test files, 12 more counted only |
| Snippet from: | fastcc-without-f-reg.8beefb8014.ll (mutant of fastcc-without-f-reg.ll) @callee_half_32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zba,+zicond -O2 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global <32 x i1>
; Function Attrs: nounwind
define fastcc half @callee_half_32(<32 x half> %A) #0 {
%C = fcmp one <32 x half> %A, %A
%B = extractelement <32 x half> %A, i32 0
store <32 x i1> %C, ptr @G.3, align 4
ret half %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zba,+zicond -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zba,+zicond -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fcmp: ' %C = fcmp one <32 x half> %A, %A' (in function: callee_half_32)
warning: Instruction selection used fallback path for callee_half_32
Occurrences (4):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.8beefb8014.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zba,+zicond -O2 -code-model=small |
| fp-fcanonicalize.1f4d0646a3.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v8f16_nnan | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=medium |
| fp-fcanonicalize.5ecc2f6135.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f16_nnan | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1 |
| fp-fcanonicalize.857f040bec.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v4f16_nnan | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 |
Generated 2026-11-29 14:49 UTC.