fallback: legalize: G_SITOFP <N x f16>,<N x i16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_SITOFP <N x f16>,<N x i16> M |
| Occurrences: | 4 in 4 configs, 2 test files, 17 more counted only |
| Snippet from: | fixed-vectors-i2fp.d6aeada8d8.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v64i16_v64f16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.5 = external global ptr
define void @si2fp_v64i16_v64f16(ptr %x, ptr %y) {
%a = load <64 x i16>, ptr %x, align 128
%d = sitofp <64 x i16> %a to <64 x half>
store <64 x half> %d, ptr %y, align 128
%G = getelementptr ptr, ptr %y, i128 1
store ptr %G, ptr @G.5, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<64 x f16>) = G_SITOFP %2:_(<64 x i16>) (in function: si2fp_v64i16_v64f16)
warning: Instruction selection used fallback path for si2fp_v64i16_v64f16
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.d6aeada8d8.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v64i16_v64f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2 |
| fixed-vectors-i2fp.e5bb22a19d.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v64i16_v64f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0 |
| fixed-vectors-sitofp-vp.13afaa625e.ll (mutant of fixed-vectors-sitofp-vp.ll) | vsitofp_v4f16_v4i16 | -mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs |
| fixed-vectors-sitofp-vp.bd1d05362a.ll (mutant of fixed-vectors-sitofp-vp.ll) | vsitofp_v4f16_v4i16_unmasked | -mtriple=riscv32 -mattr=+m,+v -O3 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.