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

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

Snippet:

define void @ui2fp_v8i8_v8bf16(ptr %x, ptr %y) {
  %a = load <8 x i8>, ptr %x, align 8
  %B = lshr <8 x i8> %a, %a
  %d = uitofp <8 x i8> %B to <8 x bfloat>
  store <8 x bfloat> %d, ptr %y, align 16
  ret void
}

Reproduce:

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

Local llc output:

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

Occurrences (11):

InputFunctionConfig
fixed-vectors-i2fp.0df87eb33b.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i8_v8bf16-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_v2i8_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f -O3
fixed-vectors-i2fp.0eda4e5ba1.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f -O3
fixed-vectors-i2fp.1332792b09.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i8_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.255cc493f0.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i8_v2bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.28bcf05639.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v8i8_v8bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3
fixed-vectors-i2fp.396c7f1246.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i8_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O3
fixed-vectors-i2fp.5371ccc491.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v2i8_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O2 -code-model=small
fixed-vectors-i2fp.96bd0f26c2.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+a -O3 -code-model=medium
fixed-vectors-i2fp.e5bb22a19d.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0
fixed-vectors-i2fp.eeaabf0dba.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+c -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.