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

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

Snippet:

@G.2 = external global i32

; Function Attrs: strictfp
define <1 x float> @floor_v1f32(<1 x float> %x) #0 {
  %a = call <1 x float> @llvm.experimental.constrained.floor.v1f32(<1 x float> %x, metadata !"fpexcept.strict")
  %B = add i32 0, 2147483647
  store i32 %B, ptr @G.2, align 4
  ret <1 x float> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <1 x float> @llvm.experimental.constrained.floor.v1f32(<1 x float>, 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,+zfhmin -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-ffloor-constrained-sdnode.0716c87b59.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O2
fixed-vectors-ffloor-constrained-sdnode.278815a079.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O2
fixed-vectors-ffloor-constrained-sdnode.81993bf30d.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfh -O3
fixed-vectors-ffloor-constrained-sdnode.82dfbe7d6c.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1
fixed-vectors-ffloor-constrained-sdnode.c8b1ed2fc2.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O3

Generated 2026-11-29 14:49 UTC.