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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.constrained.floor.v4f16 M
Occurrences:5 in 5 configs, 1 test files, 5 more counted only
Snippet from:fixed-vectors-ffloor-constrained-sdnode.852353f50f.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) @floor_v4f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <4 x i1>

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

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x half> @llvm.experimental.constrained.floor.v4f16(<4 x half>, 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,+zvfh,+v -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-ffloor-constrained-sdnode.1276002a1b.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v4f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 -code-model=small
fixed-vectors-ffloor-constrained-sdnode.41dafddf25.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v4f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicond -O3 -code-model=small
fixed-vectors-ffloor-constrained-sdnode.852353f50f.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v4f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 -code-model=small
fixed-vectors-ffloor-constrained-sdnode.88f2ebb6fd.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v4f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+zve32x -O1
fixed-vectors-ffloor-constrained-sdnode.a30bd8f413.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll)floor_v4f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1

Generated 2026-11-29 14:49 UTC.