fallback: translate: call llvm.experimental.constrained.ceil.v2f16

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.constrained.ceil.v2f16 M
Occurrences:5 in 5 configs, 1 test files, 17 more counted only
Snippet from:fixed-vectors-fceil-constrained-sdnode.d02905dfda.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll) @ceil_v2f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zvkb,+zvbb -O2 -code-model=medium
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <2 x half>

; Function Attrs: strictfp
define <2 x half> @ceil_v2f16(<2 x half> %x) #0 {
  %a = call <2 x half> @llvm.experimental.constrained.ceil.v2f16(<2 x half> %x, metadata !"fpexcept.strict")
  %B = fdiv <2 x half> %a, %a
  store <2 x half> %B, ptr @G, align 4
  ret <2 x half> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x half> @llvm.experimental.constrained.ceil.v2f16(<2 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,+zvkb,+zvbb -O2 -code-model=medium -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,+zvkb,+zvbb -O2 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-fceil-constrained-sdnode.42b033c890.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll)ceil_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v,+zihintpause -O2 -code-model=small
fixed-vectors-fceil-constrained-sdnode.7bb88a1aff.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll)ceil_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v -O3
fixed-vectors-fceil-constrained-sdnode.a1cda4e256.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll)ceil_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zicond -O3
fixed-vectors-fceil-constrained-sdnode.d02905dfda.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll)ceil_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zvkb,+zvbb -O2 -code-model=medium
fixed-vectors-fceil-constrained-sdnode.dba37777fc.ll (mutant of fixed-vectors-fceil-constrained-sdnode.ll)ceil_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+zvkb -O0

Generated 2026-11-29 14:49 UTC.