fallback: legalize: G_FPTOSI <N x i64>,<N x f16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI <N x i64>,<N x f16> M |
| Occurrences: | 6 in 5 configs, 2 test files, 20 more counted only |
| Snippet from: | fixed-vectors-fp2i.045d65bb0d.ll (mutant of fixed-vectors-fp2i.ll) @fp2si_v2f16_v2i64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fp2si_v2f16_v2i64(ptr %x, ptr %y) {
%A = alloca ptr, align 8
store ptr poison, ptr %A, align 8
%a = load <2 x half>, ptr %x, align 4
%G = getelementptr <2 x half>, ptr %x, i16 0
%d = fptosi <2 x half> %a to <2 x i64>
store <2 x i64> %d, ptr %y, align 16
store ptr %G, ptr %A, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x i64>) = G_FPTOSI %4:_(<2 x f16>) (in function: fp2si_v2f16_v2i64)
warning: Instruction selection used fallback path for fp2si_v2f16_v2i64
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.045d65bb0d.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v2f16_v2i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3 |
| fixed-vectors-fp2i.ee9136a1d1.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v2f16_v2i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d -O1 |
| fixed-vectors-fptosi-vp.270bb11dfd.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i64_v4f16 | -mtriple=riscv32 -mattr=+m,+zvfhmin,+zbs -O3 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.270bb11dfd.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i64_v4f16_unmasked | -mtriple=riscv32 -mattr=+m,+zvfhmin,+zbs -O3 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.30636f7ee0.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i64_v4f16 | -mtriple=riscv32 -mattr=+m,+zvfhmin,+zcb -O1 -code-model=small -verify-machineinstrs |
| fixed-vectors-fptosi-vp.728d00ff9c.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i64_v4f16_unmasked | -mtriple=riscv64 -mattr=+m,+zvfhmin,+zbb -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.