fallback: legalize: G_UITOFP <N x bf16>,<N x i16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x bf16>,<N x i16> M |
| Occurrences: | 5 in 5 configs, 1 test files, 14 more counted only |
| Snippet from: | fixed-vectors-i2fp.196dbb4ff0.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v64i16_v64bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d,+zfa -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
define void @ui2fp_v64i16_v64bf16(ptr %x, ptr %y) {
%LGV = load i64, ptr @G, align 4
%a = load <64 x i16>, ptr %x, align 128
%d = uitofp <64 x i16> %a to <64 x bfloat>
%G = getelementptr ptr, ptr %x, i64 %LGV
store <64 x bfloat> %d, ptr %G, align 128
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d,+zfa -O1 -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,+d,+zfa -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<64 x bf16>) = G_UITOFP %4:_(<64 x i16>) (in function: ui2fp_v64i16_v64bf16)
warning: Instruction selection used fallback path for ui2fp_v64i16_v64bf16
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.10bcadf99c.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3 |
| fixed-vectors-i2fp.196dbb4ff0.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d,+zfa -O1 |
| fixed-vectors-i2fp.3daa4611d3.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O2 |
| fixed-vectors-i2fp.5affb618c8.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+f,+d -O3 |
| fixed-vectors-i2fp.82632b8049.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1 |
Generated 2026-11-29 14:49 UTC.