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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x f32>,<N x i64> M
Occurrences:5 in 4 configs, 1 test files, 3 more counted only
Snippet from:fixed-vectors-sitofp-vp.f58abfa21d.ll (mutant of fixed-vectors-sitofp-vp.ll) @vsitofp_v4f32_v4i64_unmasked via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x float> @vsitofp_v4f32_v4i64_unmasked(<4 x i64> %va, i32 zeroext %evl) {
  %v = sitofp <4 x i64> %va to <4 x float>
  %C = fcmp uno float +inf, +qnan
  store i1 %C, ptr poison, align 1
  ret <4 x float> %v
}

Reproduce:

llc -mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-sitofp-vp.245430c4b9.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh,+zfhmin -O0 -verify-machineinstrs
fixed-vectors-sitofp-vp.46ee094013.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp.983aae8ce1.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i64-mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs
fixed-vectors-sitofp-vp.e217d1c61b.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs
fixed-vectors-sitofp-vp.f58abfa21d.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f32_v4i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.