fallback: legalize: G_FPTOSI <N x i8>,<N x f64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI <N x i8>,<N x f64> M |
| Occurrences: | 7 in 7 configs, 2 test files, 39 more counted only |
| Snippet from: | fixed-vectors-fp2i.4d41444742.ll (mutant of fixed-vectors-fp2i.ll) @fp2si_v8f64_v8i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+m -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fp2si_v8f64_v8i8(ptr %x, ptr %y) {
%a = load <8 x double>, ptr %x, align 64
%G = getelementptr <2 x i64>, ptr %x, i32 42
%d = fptosi <8 x double> %a to <8 x i8>
store <8 x i8> %d, ptr %y, align 8
store ptr %G, ptr poison, align 8
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+m -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+m -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<8 x i8>) = G_FPTOSI %2:_(<8 x f64>) (in function: fp2si_v8f64_v8i8)
warning: Instruction selection used fallback path for fp2si_v8f64_v8i8
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.4d41444742.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v8f64_v8i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+m -O2 |
| fixed-vectors-fp2i.8a7a385fb2.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v8f64_v8i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zihintpause -O3 |
| fixed-vectors-fp2i.aca78519da.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v8f64_v8i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+m -O3 |
| fixed-vectors-fp2i.efe1a477f1.ll (mutant of fixed-vectors-fp2i.ll) | fp2si_v8f64_v8i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+xtheadba -O2 |
| fixed-vectors-fptosi-vp.0a88f42998.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f64 | -mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.99753cdd99.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f64_unmasked | -mtriple=riscv32 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs |
| fixed-vectors-fptosi-vp.fbd4e8a7dd.ll (mutant of fixed-vectors-fptosi-vp.ll) | vfptosi_v4i8_v4f64 | -mtriple=riscv32 -mattr=+m,+zvfh,+zbb -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.