fallback: legalize: G_SITOFP <N x f32>,<N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x f32>,<N x i32> M
Occurrences:12 in 11 configs, 2 test files, 40 more counted only
Snippet from:fixed-vectors-i2fp.6e7d9bb8d6.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v8i32_v8f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbs -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v8i32_v8f32(ptr %x, ptr %y) {
  %a = load <8 x i32>, ptr %x, align 32
  %d = sitofp <8 x i32> %a to <8 x float>
  store <8 x float> %d, ptr %y, align 32
  store <8 x i32> %a, ptr poison, align 32
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbs -O3 -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,+zbs -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(<8 x f32>) = G_SITOFP %2:_(<8 x i32>) (in function: si2fp_v8i32_v8f32)
warning: Instruction selection used fallback path for si2fp_v8i32_v8f32

Occurrences (12):

InputFunctionConfig
fixed-vectors-i2fp.278b2765b9.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.3d1f114d89.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zicsr -O2
fixed-vectors-i2fp.43f6e135df.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O0
fixed-vectors-i2fp.45c5931cd8.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.5ed5a7d1fc.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.60c3de3c11.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+zbb -O1
fixed-vectors-i2fp.6e7d9bb8d6.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbs -O3
fixed-vectors-i2fp.c0dec0766d.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+experimental-zvfbfa,+f,+d -O3
fixed-vectors-i2fp.c0dec0766d.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+experimental-zvfbfa,+f,+d -O3
fixed-vectors-i2fp.db9dd8cd7c.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zve32x -O2
fixed-vectors-i2fp.f46c2f5cd2.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zicsr -O2
fixed-vectors-sitofp-vp.245430c4b9.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32-mtriple=riscv64 -mattr=+m,+zvfh,+zfhmin -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.