fallback: legalize: G_FPTOUI <N x i8>,<N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FPTOUI <N x i8>,<N x bf16> M |
| Occurrences: | 5 in 4 configs, 1 test files, 19 more counted only |
| Snippet from: | fixed-vectors-fp2i.ed87cca7be.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2bf16_v2i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fp2ui_v2bf16_v2i8(ptr %x, ptr %y) {
%G = getelementptr i16, ptr %y, i8 16
%a = load <2 x bfloat>, ptr %x, align 4
%d = fptoui <2 x bfloat> %a to <2 x i8>
store <2 x i8> %d, ptr %y, align 2
store ptr %G, ptr poison, align 8
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+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,+experimental-zvfbfa,+f,+d -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x i8>) = G_FPTOUI %4:_(<2 x bf16>) (in function: fp2ui_v2bf16_v2i8)
warning: Instruction selection used fallback path for fp2ui_v2bf16_v2i8
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.62403880a9.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2bf16_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f -O1 |
| fixed-vectors-fp2i.be80f2dbe6.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2bf16_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1 |
| fixed-vectors-fp2i.c9ad7ed6f9.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2bf16_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O3 |
| fixed-vectors-fp2i.ed87cca7be.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2bf16_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1 |
| fixed-vectors-fp2i.f82d06c550.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2bf16_v2i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zcb -O2 |
Generated 2026-11-29 14:49 UTC.