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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_UITOFP <N x bf16>,<N x i64> M
Occurrences:6 in 6 configs, 1 test files, 37 more counted only
Snippet from:fixed-vectors-i2fp.5817118b99.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v8i64_v8bf16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

define void @ui2fp_v8i64_v8bf16(ptr %x, ptr %y) {
  %LGV = load i8, ptr @G, align 1
  %a = load <8 x i64>, ptr %x, align 64
  %d = uitofp <8 x i64> %a to <8 x bfloat>
  store <8 x bfloat> %d, ptr %y, align 16
  %C = icmp ult i8 %LGV, -1
  store i1 %C, ptr poison, align 1
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-i2fp.0df87eb33b.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zihintpause,+zfa -O2 -code-model=small
fixed-vectors-i2fp.0eda4e5ba1.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f -O3
fixed-vectors-i2fp.5817118b99.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3
fixed-vectors-i2fp.621c8f71ad.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i64_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zcb -O0
fixed-vectors-i2fp.8367b41ce3.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d -O0
fixed-vectors-i2fp.b16f5af868.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i64_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+experimental-zvfbfa,+f,+d,+zcb -O2

Generated 2026-11-29 14:49 UTC.