fallback: legalize: G_SITOFP <N x f16>,<N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_SITOFP <N x f16>,<N x i16> M
Occurrences:4 in 4 configs, 2 test files, 19 more counted only
Snippet from:fixed-vectors-i2fp.2be5db98b8.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v64i16_v64f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v64i16_v64f16(ptr %x, ptr %y) {
  %a = load <64 x i16>, ptr %x, align 128
  %G = getelementptr <64 x i16>, ptr %x, i64 42
  %d = sitofp <64 x i16> %a to <64 x half>
  store <64 x half> %d, ptr %G, align 128
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<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):

InputFunctionConfig
fixed-vectors-i2fp.10bcadf99c.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3
fixed-vectors-i2fp.2be5db98b8.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.69aa78c940.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O3
fixed-vectors-sitofp-vp.4087bc39f3.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i16-mtriple=riscv64 -mattr=+m,+zvfh -O3 -code-model=small -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.