fallback: legalize: G_UITOFP <N x f16>,<N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_UITOFP <N x f16>,<N x i64> M
Occurrences:8 in 7 configs, 2 test files, 47 more counted only
Snippet from:fixed-vectors-uitofp-vp.2efb88511c.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x half> @vuitofp_v4f16_v4i64(<4 x i64> %va, <4 x i1> %m, i32 zeroext %evl) {
  %A = alloca i128, align 8
  store i128 poison, ptr %A, align 4
  %B = sub i128 42, 0
  %v = uitofp <4 x i64> %va to <4 x half>
  store i128 %B, ptr %A, align 4
  ret <4 x half> %v
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %11:_(<4 x f16>) = G_UITOFP %0:_(<4 x i64>) (in function: vuitofp_v4f16_v4i64)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i64

Occurrences (8):

InputFunctionConfig
fixed-vectors-i2fp.06736719e4.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.14164e651c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zcb -O0
fixed-vectors-i2fp.255cc493f0.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.e5bb22a19d.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0
fixed-vectors-i2fp.f3a0964414.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1
fixed-vectors-uitofp-vp.2efb88511c.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.6f4ad4f016.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.6f4ad4f016.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.