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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x f64>,<N x i16> M
Occurrences:7 in 7 configs, 2 test files, 39 more counted only
Snippet from:fixed-vectors-i2fp.5d920976e6.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v8i16_v8f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+xtheadba -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v8i16_v8f64(ptr %x, ptr %y) {
  %a = load <8 x i16>, ptr %x, align 16
  %G = getelementptr <8 x i16>, ptr %x, i8 -1
  %d = sitofp <8 x i16> %a to <8 x double>
  store <8 x double> %d, ptr %G, align 64
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+xtheadba -O0 -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,+xtheadba -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<8 x f64>) = G_SITOFP %2:_(<8 x i16>) (in function: si2fp_v8i16_v8f64)
warning: Instruction selection used fallback path for si2fp_v8i16_v8f64

Occurrences (7):

InputFunctionConfig
fixed-vectors-i2fp.3d1f114d89.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i16_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zicsr -O2
fixed-vectors-i2fp.5d920976e6.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i16_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+xtheadba -O0
fixed-vectors-i2fp.caf7796a16.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i16_v2f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.e1550ba8dc.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i16_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small
fixed-vectors-sitofp-vp.46ee094013.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f64_v4i16_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp.94696e7772.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f64_v4i16-mtriple=riscv32 -mattr=+m,+zvfh,+zvbb -O1 -verify-machineinstrs
fixed-vectors-sitofp-vp.9a349e189f.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f64_v4i16-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.