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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_UITOFP <N x f16>,<N x i64> M
Occurrences:13 in 9 configs, 2 test files, 31 more counted only
Snippet from:fixed-vectors-i2fp.086fb55638.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i64_v2f16 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_v2i64_v2f16(ptr %x, ptr %y) {
  %a = load <2 x i64>, ptr %x, align 16
  %d = uitofp <2 x i64> %a to <2 x half>
  store <2 x half> %d, ptr %y, align 4
  %B = sub <2 x i64> %a, zeroinitializer
  store <2 x i64> %B, ptr poison, align 16
  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 f16>) = G_UITOFP %2:_(<2 x i64>) (in function: ui2fp_v2i64_v2f16)
warning: Instruction selection used fallback path for ui2fp_v2i64_v2f16

Occurrences (13):

InputFunctionConfig
fixed-vectors-i2fp.086fb55638.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.086fb55638.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.1d10685494.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.2e795a4be5.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O0 -code-model=small
fixed-vectors-i2fp.5735dd1d16.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3
fixed-vectors-i2fp.69be6d2da1.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2 -code-model=medium
fixed-vectors-i2fp.69be6d2da1.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2 -code-model=medium
fixed-vectors-i2fp.9a2cb97524.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.a881308b60.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O3
fixed-vectors-i2fp.d6dbe223cd.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-uitofp-vp.67c6bfe6c3.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m,+zvfhmin,+zicsr -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.b8f51fbf85.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv32 -mattr=+zvfh -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.d3c6f1d1dc.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64_unmasked-mtriple=riscv32 -mattr=+zvfh -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.