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

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

Snippet:

@G.2 = external global i8
@G.3 = external global i1

define <4 x double> @vsitofp_v4f64_v4i1(<4 x i1> %va, <4 x i1> %m, i32 zeroext %evl) {
  %LGV = load i8, ptr @G.2, align 1
  %v = sitofp <4 x i1> %va to <4 x double>
  %C = icmp slt i8 1, %LGV
  store i1 %C, ptr @G.3, align 1
  ret <4 x double> %v
}

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fixed-vectors-sitofp-vp-mask.0bfb053e41.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O0 -verify-machineinstrs
fixed-vectors-sitofp-vp-mask.1a92fc3578.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1-mtriple=riscv64 -mattr=+m,+zvfh,+zbb -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp-mask.da608d5b63.ll (mutant of fixed-vectors-sitofp-vp-mask.ll)vsitofp_v4f64_v4i1_unmasked-mtriple=riscv32 -mattr=+zvfh -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.