fallback: legalize: G_UITOFP <N x f16>,<N x i1>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x f16>,<N x i1> M |
| Occurrences: | 4 in 4 configs, 2 test files, 16 more counted only |
| Snippet from: | fixed-vectors-uitofp-vp-mask.28ee83f134.ll (mutant of fixed-vectors-uitofp-vp-mask.ll) @vuitofp_v4f16_v4i1 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m,+zvfh,+zve32x -O1 -code-model=small -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <4 x half> @vuitofp_v4f16_v4i1(<4 x i1> %va, <4 x i1> %m, i32 zeroext %evl) {
%v = uitofp <4 x i1> %va to <4 x half>
%C = icmp eq i64 0, -1
store i1 %C, ptr @G.1, align 1
ret <4 x half> %v
}
Reproduce:
llc -mtriple=riscv32 -mattr=+m,+zvfh,+zve32x -O1 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfh,+zve32x -O1 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(<4 x f16>) = G_UITOFP %0:_(<4 x i1>) (in function: vuitofp_v4f16_v4i1)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i1
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.3a295834fc.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i1_v8f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O1 -code-model=medium |
| fixed-vectors-i2fp.7d25b440c4.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v8i1_v8f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-uitofp-vp-mask.28ee83f134.ll (mutant of fixed-vectors-uitofp-vp-mask.ll) | vuitofp_v4f16_v4i1 | -mtriple=riscv32 -mattr=+m,+zvfh,+zve32x -O1 -code-model=small -verify-machineinstrs |
| fixed-vectors-uitofp-vp-mask.c038a743c0.ll (mutant of fixed-vectors-uitofp-vp-mask.ll) | vuitofp_v4f16_v4i1 | -mtriple=riscv64 -mattr=+m,+zvfh -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.