fallback: legalize: G_FPTOSI <N x i16>,<N x f16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI <N x i16>,<N x f16> M |
| Occurrences: | 7 in 7 configs, 2 test files, 25 more counted only |
| Snippet from: | fixed-vectors-fp2i.2830012753.ll (mutant of fixed-vectors-fp2i.ll) @fp2si_v64f16_v64i16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+zve32x -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.5 = external global i1
define void @fp2si_v64f16_v64i16(ptr %x, ptr %y) {
%a = load <64 x half>, ptr %x, align 128
%C = icmp slt i1 false, true
%d = fptosi <64 x half> %a to <64 x i16>
store <64 x i16> %d, ptr %y, align 128
store i1 %C, ptr @G.5, align 1
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+zve32x -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+zve32x -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(<64 x i16>) = G_FPTOSI %2:_(<64 x f16>) (in function: fp2si_v64f16_v64i16)
warning: Instruction selection used fallback path for fp2si_v64f16_v64i16
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.1adc2e152b.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbb,+zihintpause -O2 |
| fixed-vectors-fp2i.1c3b7512fe.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1 -code-model=medium |
| fixed-vectors-fp2i.2830012753.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+zve32x -O3 |
| fixed-vectors-fp2i.c6375b3867.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zvbb -O1 |
| fixed-vectors-fp2i.d28155469b.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f -O2 |
| fixed-vectors-fp2i.fa002e48ca.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v64f16_v64i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f -O0 |
| fixed-vectors-fptosi-vp.fc05908b55.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i16_v4f16 | -mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.