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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_UITOFP <N x f16>,<N x i64> M
Occurrences:9 in 8 configs, 2 test files, 34 more counted only
Snippet from:fixed-vectors-i2fp.42f335aabe.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i64_v2f16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small
Local check:reproduces at d9924131a4
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
  store <2 x half> %d, ptr poison, align 4
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small -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 (9):

InputFunctionConfig
fixed-vectors-i2fp.42f335aabe.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small
fixed-vectors-i2fp.a13d47cf94.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a,+zfhmin -O0
fixed-vectors-i2fp.db19bff114.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2
fixed-vectors-i2fp.db9dd8cd7c.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zve32x -O2
fixed-vectors-i2fp.f46c2f5cd2.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zicsr -O2
fixed-vectors-uitofp-vp.4b4b7d68a7.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.c04d081ef9.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64_unmasked-mtriple=riscv32 -mattr=+v -O2 -code-model=medium -verify-machineinstrs
fixed-vectors-uitofp-vp.d7f11f6133.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.d7f11f6133.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.