fallback: legalize: G_FPTOSI <N x i32>,<N x f32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_FPTOSI <N x i32>,<N x f32> M
Occurrences:11 in 11 configs, 1 test files, 61 more counted only
Snippet from:fixed-vectors-fp2i.0e58d4535c.ll (mutant of fixed-vectors-fp2i.ll) @fp2si_v3f32_v3i32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2si_v3f32_v3i32(ptr %x, ptr %y) {
  %a = load <3 x float>, ptr %x, align 16
  %d = fptosi <3 x float> %a to <3 x i32>
  store <3 x i32> %d, ptr %y, align 16
  %G = getelementptr i128, ptr %x, i8 1
  store ptr %G, ptr poison, align 8
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+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=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(<3 x i32>) = G_FPTOSI %2:_(<3 x f32>) (in function: fp2si_v3f32_v3i32)
warning: Instruction selection used fallback path for fp2si_v3f32_v3i32

Occurrences (11):

InputFunctionConfig
fixed-vectors-fp2i.0d754be067.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v3f32_v3i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-fp2i.0e58d4535c.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v3f32_v3i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3
fixed-vectors-fp2i.19bfea056b.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v8f32_v8i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+xtheadba -O3
fixed-vectors-fp2i.1adc2e152b.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbb,+zihintpause -O2
fixed-vectors-fp2i.298687052d.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+xtheadba -O0
fixed-vectors-fp2i.2c6e131a91.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v8f32_v8i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+c -O0 -code-model=medium
fixed-vectors-fp2i.47ab11c75b.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1 -code-model=small
fixed-vectors-fp2i.663e892717.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zve64d -O3
fixed-vectors-fp2i.82fe282fc7.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1
fixed-vectors-fp2i.c5af0b30e4.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v3f32_v3i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zcb -O2
fixed-vectors-fp2i.fd89f1b6c3.ll (mutant of fixed-vectors-fp2i.ll)fp2si_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+m -O3

Generated 2026-11-29 14:49 UTC.