fallback: legalize: G_UITOFP <N x f32>,<N x i32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_UITOFP <N x f32>,<N x i32> M
Occurrences:13 in 12 configs, 2 test files, 49 more counted only
Snippet from:fixed-vectors-uitofp-vp.c8a4e6ec22.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f32_v4i32_unmasked via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+zvfh,+d -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i1

define <4 x float> @vuitofp_v4f32_v4i32_unmasked(<4 x i32> %va, i32 zeroext %evl) {
  %C = icmp ne i32 %evl, -1
  %v = uitofp <4 x i32> %va to <4 x float>
  store i1 %C, ptr @G.2, align 1
  ret <4 x float> %v
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %8:_(<4 x f32>) = G_UITOFP %0:_(<4 x i32>) (in function: vuitofp_v4f32_v4i32_unmasked)
warning: Instruction selection used fallback path for vuitofp_v4f32_v4i32_unmasked

Occurrences (13):

InputFunctionConfig
fixed-vectors-i2fp.196dbb4ff0.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i32_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d,+zfa -O1
fixed-vectors-i2fp.196dbb4ff0.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i32_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d,+zfa -O1
fixed-vectors-i2fp.5735dd1d16.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i32_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3
fixed-vectors-i2fp.77ea635e7e.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i32_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O2
fixed-vectors-i2fp.7bf22bcdc0.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v3i32_v3f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d,+zba -O0
fixed-vectors-i2fp.84bb78ad06.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v3i32_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.902eb1024c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i32_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.f086482f9c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i32_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -code-model=medium
fixed-vectors-uitofp-vp.b9e6dd4c55.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f32_v4i32-mtriple=riscv64 -mattr=+zvfh -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.bea57ace85.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f32_v4i32_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.c8a4e6ec22.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f32_v4i32_unmasked-mtriple=riscv64 -mattr=+m,+zvfh,+d -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.d3c6f1d1dc.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f32_v4i32_unmasked-mtriple=riscv32 -mattr=+zvfh -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.e6ec4d75aa.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f32_v4i32-mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.