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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_UITOFP <N x bf16>,<N x i8> M
Occurrences:12 in 6 configs, 1 test files
Snippet from:fixed-vectors-i2fp.4c6d00b6d3.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v4i8_v4bf16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @ui2fp_v4i8_v4bf16(ptr %x, ptr %y) {
  %A = alloca ptr, align 8
  store ptr poison, ptr %A, align 8
  %G = getelementptr ptr, ptr %y, i32 1
  %a = load <4 x i8>, ptr %x, align 4
  %d = uitofp <4 x i8> %a to <4 x bfloat>
  store <4 x bfloat> %d, ptr %y, align 8
  store ptr %G, ptr %A, align 8
  ret void
}

Reproduce:

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

Local llc output:

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

Occurrences (12):

InputFunctionConfig
fixed-vectors-i2fp.2cf2b6175d.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.4c6d00b6d3.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.5bae2ed01e.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.6d3bdca210.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.7e6cdf95f5.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.a103b62c50.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.ac164b30af.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.b1cb0afad7.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.cb9abc3cd2.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.e6d0a1980a.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.ea5ea23cbf.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-i2fp.fc42a0d28b.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.