fallback: legalize: G_UITOFP <N x bf16>,<N x i64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x bf16>,<N x i64> M |
| Occurrences: | 6 in 6 configs, 1 test files, 28 more counted only |
| Snippet from: | fixed-vectors-i2fp.1a7e4506d0.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i64_v2bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i32
define void @ui2fp_v2i64_v2bf16(ptr %x, ptr %y) {
%LGV = load i32, ptr @G.4, align 4
%a = load <2 x i64>, ptr %x, align 16
%d = uitofp <2 x i64> %a to <2 x bfloat>
%B = and i32 1, %LGV
store <2 x bfloat> %d, ptr %y, align 4
store i32 %B, ptr @G.4, align 4
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+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=+zvfh,+experimental-zvfbfa,+f,+d -O0 -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.1a7e4506d0.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i64_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O0 |
| fixed-vectors-i2fp.1f1a1d86a1.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i64_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d -O1 |
| fixed-vectors-i2fp.50d9a4d47c.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfhmin -O0 |
| fixed-vectors-i2fp.942ae1a1c3.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+f,+d -O1 |
| fixed-vectors-i2fp.a881308b60.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O3 |
| fixed-vectors-i2fp.e7c566cc35.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O0 |
Generated 2026-11-29 14:49 UTC.