fallback: legalize: G_FPTOSI <N x i64>,<N x f32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI <N x i64>,<N x f32> M |
| Occurrences: | 5 in 5 configs, 2 test files, 30 more counted only |
| Snippet from: | fixed-vectors-fp2i.43482124e2.ll (mutant of fixed-vectors-fp2i.ll) @fp2si_v2f32_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbb,+zvbb -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fp2si_v2f32_v2i64(ptr %x, ptr %y) {
%a = load <2 x float>, ptr %x, align 8
%d = fptosi <2 x float> %a to <2 x i64>
%C = icmp ne i64 9223372036854775807, 4294967296
store <2 x i64> %d, ptr %y, align 16
store i1 %C, ptr poison, align 1
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbb,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbb,+zvbb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<2 x i64>) = G_FPTOSI %2:_(<2 x f32>) (in function: fp2si_v2f32_v2i64)
warning: Instruction selection used fallback path for fp2si_v2f32_v2i64
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.0a371059e9.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v2f32_v2i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+zicond -O2 |
| fixed-vectors-fp2i.0de8a3024a.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v8f32_v8i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zbb -O3 |
| fixed-vectors-fp2i.43482124e2.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v2f32_v2i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbb,+zvbb -O2 |
| fixed-vectors-fp2i.e4b9304a4a.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v2f32_v2i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+d,+zve32x -O2 |
| fixed-vectors-fptosi-vp.fbd4e8a7dd.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i64_v4f32_unmasked | -mtriple=riscv32 -mattr=+m,+zvfh,+zbb -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.