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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_UITOFP <N x f64>,<N x i16> M
Occurrences:6 in 5 configs, 2 test files, 24 more counted only
Snippet from:fixed-vectors-uitofp-vp.ece6e964d5.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f64_v4i16_unmasked via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+zvfh -O0 -code-model=small -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x double> @vuitofp_v4f64_v4i16_unmasked(<4 x i16> %va, i32 zeroext %evl) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %v = uitofp <4 x i16> %va to <4 x double>
  %C = icmp sgt i32 %evl, 1
  store i1 %C, ptr %A, align 1
  ret <4 x double> %v
}

Reproduce:

llc -mtriple=riscv32 -mattr=+m,+zvfh -O0 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfh -O0 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-i2fp.278b2765b9.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i16_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.278b2765b9.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i16_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.4bd9b27f2e.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i16_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+c -O3
fixed-vectors-i2fp.abffe357df.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i16_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-uitofp-vp.ece6e964d5.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16_unmasked-mtriple=riscv32 -mattr=+m,+zvfh -O0 -code-model=small -verify-machineinstrs
fixed-vectors-uitofp-vp.f306c43ed5.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.