fallback: legalize: G_SITOFP <N x bf16>,<N x i16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_SITOFP <N x bf16>,<N x i16> M |
| Occurrences: | 3 in 3 configs, 1 test files, 12 more counted only |
| Snippet from: | fixed-vectors-i2fp.ebec14d48e.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v64i16_v64bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+c -O1 -code-model=medium |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i1
define void @si2fp_v64i16_v64bf16(ptr %x, ptr %y) {
%a = load <64 x i16>, ptr %x, align 128
%d = sitofp <64 x i16> %a to <64 x bfloat>
store <64 x bfloat> %d, ptr %y, align 128
%C = icmp uge i64 0, 0
store i1 %C, ptr @G.2, align 1
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+c -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+c -O1 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<64 x bf16>) = G_SITOFP %2:_(<64 x i16>) (in function: si2fp_v64i16_v64bf16)
warning: Instruction selection used fallback path for si2fp_v64i16_v64bf16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.0df87eb33b.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v64i16_v64bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zihintpause,+zfa -O2 -code-model=small |
| fixed-vectors-i2fp.e1e4c07668.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v64i16_v64bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zfhmin,+zfa -O2 |
| fixed-vectors-i2fp.ebec14d48e.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v64i16_v64bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+c -O1 -code-model=medium |
Generated 2026-11-29 14:49 UTC.