fallback: legalize: G_UITOFP <N x f16>,<N x i16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x f16>,<N x i16> M |
| Occurrences: | 4 in 4 configs, 2 test files, 12 more counted only |
| Snippet from: | fixed-vectors-uitofp-vp.d132770039.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i16_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m,+zvfhmin -O3 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
@G.1 = external global i1
define <4 x half> @vuitofp_v4f16_v4i16_unmasked(<4 x i16> %va, i32 zeroext %evl) {
%LGV = load i16, ptr @G, align 2
%v = uitofp <4 x i16> %va to <4 x half>
%C = icmp ule i16 %LGV, 256
store i1 %C, ptr @G.1, align 1
ret <4 x half> %v
}
Reproduce:
llc -mtriple=riscv32 -mattr=+m,+zvfhmin -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfhmin -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 i16>) (in function: vuitofp_v4f16_v4i16_unmasked)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i16_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.caf7796a16.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 |
| fixed-vectors-i2fp.db9dd8cd7c.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zve32x -O2 |
| fixed-vectors-i2fp.e1550ba8dc.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small |
| fixed-vectors-uitofp-vp.d132770039.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i16_unmasked | -mtriple=riscv32 -mattr=+m,+zvfhmin -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.