fallback: translate: call llvm.experimental.constrained.fptosi.v2i32.v2f32

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.constrained.fptosi.v2i32.v2f32 M
Occurrences:4 in 4 configs, 1 test files, 1 more counted only
Snippet from:fixed-vectors-vfptoi-constrained-sdnode.1c2d003d01.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) @vfptosi_v2f32_v2i32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zihintpause -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: strictfp
define <2 x i32> @vfptosi_v2f32_v2i32(<2 x float> %va) #0 {
  %C = fcmp ueq <2 x float> %va, %va
  %evec = call <2 x i32> @llvm.experimental.constrained.fptosi.v2i32.v2f32(<2 x float> %va, metadata !"fpexcept.strict")
  store <2 x i1> %C, ptr poison, align 1
  ret <2 x i32> %evec
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x i32> @llvm.experimental.constrained.fptosi.v2i32.v2f32(<2 x float>, metadata) #1

attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zihintpause -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zihintpause -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.fptosi.v2i32.v2f32: '  %evec = call <2 x i32> @llvm.experimental.constrained.fptosi.v2i32.v2f32(<2 x float> %va, metadata !"fpexcept.strict")' (in function: vfptosi_v2f32_v2i32)
warning: Instruction selection used fallback path for vfptosi_v2f32_v2i32

Occurrences (4):

InputFunctionConfig
fixed-vectors-vfptoi-constrained-sdnode.041529dcaf.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptosi_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+experimental-zvfbfa,+v -O0
fixed-vectors-vfptoi-constrained-sdnode.1c2d003d01.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptosi_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zihintpause -O3
fixed-vectors-vfptoi-constrained-sdnode.59f71768fb.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptosi_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zfhmin,+zcb -O3
fixed-vectors-vfptoi-constrained-sdnode.c186d6b3e7.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptosi_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zicsr,+zbkb -O1 -code-model=medium

Generated 2026-11-29 14:49 UTC.