fallback: legalize: G_UITOFP <N x f16>,<N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x f16>,<N x i32> M |
| Occurrences: | 5 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-uitofp-vp.c04d081ef9.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i32_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -O2 -code-model=medium -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <4 x half> @vuitofp_v4f16_v4i32_unmasked(<4 x i32> %va, i32 zeroext %evl) {
%v = uitofp <4 x i32> %va to <4 x half>
%C = icmp ult i1 true, true
store i1 %C, ptr @G.1, align 1
ret <4 x half> %v
}
Reproduce:
llc -mtriple=riscv32 -mattr=+v -O2 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -O2 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<4 x f16>) = G_UITOFP %0:_(<4 x i32>) (in function: vuitofp_v4f16_v4i32_unmasked)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i32_unmasked
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-uitofp-vp.c04d081ef9.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i32_unmasked | -mtriple=riscv32 -mattr=+v -O2 -code-model=medium -verify-machineinstrs |
| fixed-vectors-uitofp-vp.d27b5584b4.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i32 | -mtriple=riscv32 -mattr=+m,+zvfh,+xtheadba -O1 -code-model=small -verify-machineinstrs |
| fixed-vectors-uitofp-vp.d7f11f6133.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i32_unmasked | -mtriple=riscv64 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.de32642814.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i32_unmasked | -mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O2 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.f306c43ed5.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i32 | -mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.