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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_UITOFP <N x f64>,<N x i16> M
Occurrences:8 in 7 configs, 2 test files, 25 more counted only
Snippet from:fixed-vectors-i2fp.9a2cb97524.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i16_v2f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @ui2fp_v2i16_v2f64(ptr %x, ptr %y) {
  %a = load <2 x i16>, ptr %x, align 4
  %d = uitofp <2 x i16> %a to <2 x double>
  %G = getelementptr bfloat, ptr %x, i128 18446744073709551616
  store <2 x double> %d, ptr %y, align 16
  store ptr %G, ptr poison, align 8
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+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=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (8):

InputFunctionConfig
fixed-vectors-i2fp.50d9a4d47c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i16_v2f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin -O0
fixed-vectors-i2fp.50d9a4d47c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i16_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin -O0
fixed-vectors-i2fp.5affb618c8.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i16_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+f,+d -O3
fixed-vectors-i2fp.9a2cb97524.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i16_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-uitofp-vp.194c89eda0.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.2537988b3d.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16-mtriple=riscv64 -mattr=+zvfhmin -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.563b6fff7a.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zicsr -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.b9e6dd4c55.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i16_unmasked-mtriple=riscv64 -mattr=+zvfh -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.