fallback: legalize: G_UITOFP <N x bf16>,<N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x bf16>,<N x i1> M |
| Occurrences: | 3 in 3 configs, 1 test files, 4 more counted only |
| Snippet from: | fixed-vectors-i2fp.942ae1a1c3.ll (mutant of fixed-vectors-i2fp.ll) @ui2fp_v2i1_v2bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+f,+d -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global double
define <2 x bfloat> @ui2fp_v2i1_v2bf16(<2 x i1> %x) {
%LGV1 = load double, ptr @G.4, align 8
%B = fsub double 1.000000e+00, %LGV1
%z = uitofp <2 x i1> %x to <2 x bfloat>
store double %B, ptr @G.4, align 8
ret <2 x bfloat> %z
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+f,+d -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,+f,+d -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(<2 x bf16>) = G_UITOFP %0:_(<2 x i1>) (in function: ui2fp_v2i1_v2bf16)
warning: Instruction selection used fallback path for ui2fp_v2i1_v2bf16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.69be6d2da1.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i1_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O2 -code-model=medium |
| fixed-vectors-i2fp.942ae1a1c3.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i1_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+f,+d -O1 |
| fixed-vectors-i2fp.d39b951dfe.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v2i1_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d,+zfa -O1 |
Generated 2026-11-29 14:49 UTC.