fallback: translate: load <N x half>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: load <N x half> M |
| Occurrences: | 4 in 4 configs, 2 test files, 24 more counted only |
| Snippet from: | fp-fcanonicalize.bbf57340b4.ll (mutant of fp-fcanonicalize.ll) @fcanonicalize_v2f16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvkb -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x half>
define <2 x half> @fcanonicalize_v2f16(<2 x half> %x) {
%LGV = load <2 x half>, ptr @G, align 4
%z = call <2 x half> @llvm.canonicalize.v2f16(<2 x half> %x)
%C = fcmp false <2 x half> %x, %LGV
store <2 x i1> %C, ptr poison, align 1
ret <2 x half> %z
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x half> @llvm.canonicalize.v2f16(<2 x half>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvkb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvkb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: load: ' %LGV = load <2 x half>, ptr @G, align 4' (in function: fcanonicalize_v2f16)
warning: Instruction selection used fallback path for fcanonicalize_v2f16
Occurrences (4):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.dbdaaf5d39.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 |
| fp-fcanonicalize.584aa45a0a.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v8f16_nnan | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O3 |
| fp-fcanonicalize.857f040bec.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f16_nnan | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 |
| fp-fcanonicalize.bbf57340b4.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvkb -O0 |
Generated 2026-11-29 14:49 UTC.