fallback: legalize: G_FPTOUI <N x i16>,<N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FPTOUI <N x i16>,<N x bf16> M |
| Occurrences: | 4 in 4 configs, 1 test files, 9 more counted only |
| Snippet from: | fixed-vectors-fp2i.f0d864bd24.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v64bf16_v64i16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global ptr
define void @fp2ui_v64bf16_v64i16(ptr %x, ptr %y) {
%G = getelementptr i128, ptr %x, i64 -1
%a = load <64 x bfloat>, ptr %x, align 128
%d = fptoui <64 x bfloat> %a to <64 x i16>
store <64 x i16> %d, ptr %y, align 128
store ptr %G, ptr @G.1, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<64 x i16>) = G_FPTOUI %4:_(<64 x bf16>) (in function: fp2ui_v64bf16_v64i16)
warning: Instruction selection used fallback path for fp2ui_v64bf16_v64i16
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.2243162e01.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v64bf16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d,+zba -O2 |
| fixed-vectors-fp2i.bb2a880d71.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v64bf16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zvkb -O0 |
| fixed-vectors-fp2i.dbc65b292f.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v64bf16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1 |
| fixed-vectors-fp2i.f0d864bd24.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v64bf16_v64i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0 |
Generated 2026-11-29 14:49 UTC.