fallback: legalize: G_UITOFP <N x bf16>,<N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x bf16>,<N x i64> M |
| Occurrences: | 6 in 6 configs, 1 test files, 29 more counted only |
| Snippet from: | fixed-vectors-i2fp.42f335aabe.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i64_v2bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @ui2fp_v2i64_v2bf16(ptr %x, ptr %y) {
%G = getelementptr <4 x i32>, ptr %y, i128 -1
%a = load <2 x i64>, ptr %G, align 16
%d = uitofp <2 x i64> %a to <2 x bfloat>
store <2 x bfloat> %d, ptr %y, align 4
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x bf16>) = G_UITOFP %4:_(<2 x i64>) (in function: ui2fp_v2i64_v2bf16)
warning: Instruction selection used fallback path for ui2fp_v2i64_v2bf16
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.1f55aefe03.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i64_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 -code-model=medium |
| fixed-vectors-i2fp.42f335aabe.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i64_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin,+m -O1 -code-model=small |
| fixed-vectors-i2fp.56ec0124ff.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O0 -code-model=small |
| fixed-vectors-i2fp.abffe357df.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-i2fp.b1bd0a69f7.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O1 |
| fixed-vectors-i2fp.db19bff114.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i64_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2 |
Generated 2026-11-29 14:49 UTC.