fallback: translate: call llvm.experimental.constrained.floor.v2f64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.experimental.constrained.floor.v2f64 M
Occurrences:6 in 6 configs, 1 test files, 5 more counted only
Snippet from:fixed-vectors-ffloor-constrained-sdnode.67a2393f8f.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) @floor_v2f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+a -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <2 x i1>

; Function Attrs: strictfp
define <2 x double> @floor_v2f64(<2 x double> %x) #0 {
  %a = call <2 x double> @llvm.experimental.constrained.floor.v2f64(<2 x double> %x, metadata !"fpexcept.strict")
  %C = fcmp ueq <2 x double> %a, %x
  store <2 x i1> %C, ptr @G, align 1
  ret <2 x double> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x double> @llvm.experimental.constrained.floor.v2f64(<2 x double>, metadata) #1

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+a -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+a -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.floor.v2f64: '  %a = call <2 x double> @llvm.experimental.constrained.floor.v2f64(<2 x double> %x, metadata !"fpexcept.strict")' (in function: floor_v2f64)
warning: Instruction selection used fallback path for floor_v2f64

Occurrences (6):

InputFunctionConfig
fixed-vectors-ffloor-constrained-sdnode.3770f29e03.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zcb -O3
fixed-vectors-ffloor-constrained-sdnode.5f4b11a0ca.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0 -code-model=small
fixed-vectors-ffloor-constrained-sdnode.67a2393f8f.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+a -O3
fixed-vectors-ffloor-constrained-sdnode.71034a3b70.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
fixed-vectors-ffloor-constrained-sdnode.82dfbe7d6c.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1
fixed-vectors-ffloor-constrained-sdnode.f787d135a6.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O1

Generated 2026-11-29 14:49 UTC.