fallback: legalize: G_UITOFP <N x f16>,<N x i16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_UITOFP <N x f16>,<N x i16> M |
| Occurrences: | 5 in 5 configs, 2 test files, 18 more counted only |
| Snippet from: | fixed-vectors-uitofp-vp.bea57ace85.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <4 x half> @vuitofp_v4f16_v4i16(<4 x i16> %va, <4 x i1> %m, i32 zeroext %evl) {
%C = icmp slt i16 -32768, 1
%v = uitofp <4 x i16> %va to <4 x half>
store i1 %C, ptr @G.1, align 1
ret <4 x half> %v
}
Reproduce:
llc -mtriple=riscv32 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(<4 x f16>) = G_UITOFP %0:_(<4 x i16>) (in function: vuitofp_v4f16_v4i16)
warning: Instruction selection used fallback path for vuitofp_v4f16_v4i16
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.086fb55638.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-i2fp.ae61c6c514.ll (mutant of fixed-vectors-i2fp.ll) | ui2fp_v64i16_v64f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+xtheadba,+zfh -O3 |
| fixed-vectors-uitofp-vp.16244282fd.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i16_unmasked | -mtriple=riscv32 -mattr=+m,+zvfh -O3 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.bea57ace85.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i16 | -mtriple=riscv32 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs |
| fixed-vectors-uitofp-vp.e6ec4d75aa.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f16_v4i16_unmasked | -mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.