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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_SITOFP <N x f32>,<N x i32> M
Occurrences:8 in 8 configs, 2 test files, 57 more counted only
Snippet from:fixed-vectors-i2fp.ff86fc64da.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v3i32_v3f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+d -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v3i32_v3f32(ptr %x, ptr %y) {
  %a = load <3 x i32>, ptr %x, align 16
  %d = sitofp <3 x i32> %a to <3 x float>
  %G = getelementptr bfloat, ptr %x, i64 0
  store <3 x float> %d, ptr %G, align 16
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+d -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+d -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (8):

InputFunctionConfig
fixed-vectors-i2fp.084490853f.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbb -O1
fixed-vectors-i2fp.1433bf5920.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zcb,+zve64d -O0
fixed-vectors-i2fp.3a295834fc.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O1 -code-model=medium
fixed-vectors-i2fp.621c8f71ad.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zcb -O0
fixed-vectors-i2fp.d6aeada8d8.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2
fixed-vectors-i2fp.ff86fc64da.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+d -O1
fixed-vectors-sitofp-vp.e14bd93700.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp.ff06e7b2dd.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O1 -code-model=medium -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.