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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_SITOFP <N x f64>,<N x i1> M
Occurrences:4 in 3 configs, 1 test files, 5 more counted only
Snippet from:fixed-vectors-sitofp-vp-mask.a83beea5a3.ll (mutant of fixed-vectors-sitofp-vp-mask.ll) @vsitofp_v4f64_v4i1_unmasked via llvm-extract
Config:-mtriple=riscv64 -mattr=+zvfh -O3 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x double> @vsitofp_v4f64_v4i1_unmasked(<4 x i1> %va, i32 zeroext %evl) {
  %A = alloca <4 x double>, align 32
  store <4 x double> poison, ptr %A, align 32
  %v = sitofp <4 x i1> %va to <4 x double>
  store <4 x double> %v, ptr %A, align 32
  ret <4 x double> %v
}

Reproduce:

llc -mtriple=riscv64 -mattr=+zvfh -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zvfh -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fixed-vectors-sitofp-vp-mask.a83beea5a3.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1_unmasked-mtriple=riscv64 -mattr=+zvfh -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp-mask.e571443080.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs
fixed-vectors-sitofp-vp-mask.e571443080.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs
fixed-vectors-sitofp-vp-mask.ebddffafe4.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1_unmasked-mtriple=riscv64 -mattr=+m,+zvfh,+d -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.