fallback: legalize: G_FPTOSI <N x i8>,<N x f32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI <N x i8>,<N x f32> M |
| Occurrences: | 6 in 4 configs, 1 test files, 4 more counted only |
| Snippet from: | fixed-vectors-fptosi-vp.febbd45eed.ll (mutant of fixed-vectors-fptosi-vp.ll) @vfptosi_v4i8_v4f32_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i8> @vfptosi_v4i8_v4f32_unmasked(<4 x float> %va, i32 zeroext %evl) {
%v = fptosi <4 x float> %va to <4 x i8>
%B = lshr i8 127, 1
store i8 %B, ptr poison, align 1
ret <4 x i8> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(<4 x i8>) = G_FPTOSI %0:_(<4 x f32>) (in function: vfptosi_v4i8_v4f32_unmasked)
warning: Instruction selection used fallback path for vfptosi_v4i8_v4f32_unmasked
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-fptosi-vp.8bbcefc973.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32 | -mtriple=riscv64 -mattr=+zvfh -O0 -code-model=medium -verify-machineinstrs |
| fixed-vectors-fptosi-vp.de8be8e040.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32 | -mtriple=riscv32 -mattr=+m,+zvfh -O0 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.de8be8e040.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32_unmasked | -mtriple=riscv32 -mattr=+m,+zvfh -O0 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.f31ee89a42.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32 | -mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.f31ee89a42.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32_unmasked | -mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.febbd45eed.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f32_unmasked | -mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.