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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_SITOFP <N x f32>,<N x i32> M
Occurrences:11 in 9 configs, 2 test files, 41 more counted only
Snippet from:fixed-vectors-i2fp.5affb618c8.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v2i32_v2f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+f,+d -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v2i32_v2f32(ptr %x, ptr %y) {
  %a = load <2 x i32>, ptr %x, align 8
  %B = srem <2 x i32> %a, %a
  %d = sitofp <2 x i32> %B to <2 x float>
  store <2 x float> %d, ptr %y, align 8
  ret void
}

Reproduce:

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

Local llc output:

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

Occurrences (11):

InputFunctionConfig
fixed-vectors-i2fp.3daa4611d3.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O2
fixed-vectors-i2fp.5affb618c8.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+f,+d -O3
fixed-vectors-i2fp.5affb618c8.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+f,+d -O3
fixed-vectors-i2fp.77ea635e7e.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O2
fixed-vectors-i2fp.902eb1024c.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.9a2cb97524.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i32_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.a881308b60.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O3
fixed-vectors-i2fp.e5650406b4.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i32_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+a,+zve32x -O1
fixed-vectors-sitofp-vp.0f42104c35.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32-mtriple=riscv32 -mattr=+m,+zvfh -O2 -code-model=medium -verify-machineinstrs
fixed-vectors-sitofp-vp.0f42104c35.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32_unmasked-mtriple=riscv32 -mattr=+m,+zvfh -O2 -code-model=medium -verify-machineinstrs
fixed-vectors-sitofp-vp.f628232fd5.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i32-mtriple=riscv32 -mattr=+m,+zvfh,+zfh -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.