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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x f16>,<N x i16> M
Occurrences:7 in 7 configs, 2 test files, 12 more counted only
Snippet from:fixed-vectors-i2fp.60c3de3c11.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v64i16_v64f16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+zbb -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i64

define void @si2fp_v64i16_v64f16(ptr %x, ptr %y) {
  %B = srem i64 42, 0
  %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
  store i64 %B, ptr @G.4, align 4
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<64 x f16>) = G_SITOFP %5:_(<64 x i16>) (in function: si2fp_v64i16_v64f16)
warning: Instruction selection used fallback path for si2fp_v64i16_v64f16

Occurrences (7):

InputFunctionConfig
fixed-vectors-i2fp.11049f3066.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3 -code-model=medium
fixed-vectors-i2fp.4c0f90ac60.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.60c3de3c11.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+zbb -O1
fixed-vectors-i2fp.db19bff114.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2
fixed-vectors-sitofp-vp.94696e7772.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i16_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zvbb -O1 -verify-machineinstrs
fixed-vectors-sitofp-vp.9a349e189f.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i16_unmasked-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs
fixed-vectors-sitofp-vp.e217d1c61b.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i16_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.