fallback: legalize: G_UITOFP <N x bf16>,<N x i8>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x bf16>,<N x i8> M |
| Occurrences: | 6 in 6 configs, 1 test files, 50 more counted only |
| Snippet from: | fixed-vectors-i2fp.d204e58cc2.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v4i8_v4bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbs,+zve64d -O0 |
| 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 = load <4 x i8>, ptr %x, align 4
%B = or <4 x i8> %a, splat (i8 -128)
%d = uitofp <4 x i8> %B to <4 x bfloat>
store <4 x bfloat> %d, ptr %y, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbs,+zve64d -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbs,+zve64d -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(<4 x bf16>) = G_UITOFP %5:_(<4 x i8>) (in function: ui2fp_v4i8_v4bf16)
warning: Instruction selection used fallback path for ui2fp_v4i8_v4bf16
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.1f1a1d86a1.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i8_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O1 |
| fixed-vectors-i2fp.7e8bdb8e60.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i8_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d,+zbb -O1 |
| fixed-vectors-i2fp.a881308b60.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i8_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O3 |
| fixed-vectors-i2fp.d204e58cc2.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v4i8_v4bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbs,+zve64d -O0 |
| fixed-vectors-i2fp.e7c566cc35.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i8_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O0 |
| fixed-vectors-i2fp.ea2576cca9.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i8_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 |
Generated 2026-11-29 14:49 UTC.