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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_UITOFP <N x f64>,<N x i1> M
Occurrences:5 in 4 configs, 2 test files, 4 more counted only
Snippet from:fixed-vectors-i2fp.b1bd0a69f7.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v8i1_v8f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x double> @ui2fp_v8i1_v8f64(<8 x i1> %x) {
  %B = mul i128 -1, 0
  %z = uitofp <8 x i1> %x to <8 x double>
  store i128 %B, ptr poison, align 4
  ret <8 x double> %z
}

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-i2fp.b1bd0a69f7.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i1_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O1
fixed-vectors-uitofp-vp-mask.39198e5b36.ll (mutant of fixed-vectors-uitofp-vp-mask.ll)vuitofp_v4f64_v4i1_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zvbb -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp-mask.5b2da94fbd.ll (mutant of fixed-vectors-uitofp-vp-mask.ll)vuitofp_v4f64_v4i1_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp-mask.e752948837.ll (mutant of fixed-vectors-uitofp-vp-mask.ll)vuitofp_v4f64_v4i1-mtriple=riscv32 -mattr=+m,+zvfh -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp-mask.e752948837.ll (mutant of fixed-vectors-uitofp-vp-mask.ll)vuitofp_v4f64_v4i1_unmasked-mtriple=riscv32 -mattr=+m,+zvfh -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.