fallback: legalize: G_UITOFP <N x f16>,<N x i8>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x f16>,<N x i8> M |
| Occurrences: | 4 in 4 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-uitofp-vp.e1ca59f1ab.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i8_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zvfh,+d -O3 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x half> @vuitofp_v4f16_v4i8_unmasked(<4 x i8> %va, i32 zeroext %evl) {
%v = uitofp <4 x i8> %va to <4 x half>
%B = xor i32 %evl, %evl
store i32 %B, ptr poison, align 4
ret <4 x half> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zvfh,+d -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zvfh,+d -O3 -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 i8>) (in function: vuitofp_v4f16_v4i8_unmasked)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i8_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-uitofp-vp.44dbc71a9d.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i8 | -mtriple=riscv64 -mattr=+v -O2 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.b9e6dd4c55.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i8_unmasked | -mtriple=riscv64 -mattr=+zvfh -O1 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.e1ca59f1ab.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i8_unmasked | -mtriple=riscv64 -mattr=+m,+zvfh,+d -O3 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.e6ec4d75aa.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i8 | -mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.