fallback: translate: call llvm.experimental.constrained.roundeven.v8f16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.constrained.roundeven.v8f16 M
Occurrences:6 in 5 configs, 1 test files, 10 more counted only
Snippet from:fixed-vectors-froundeven-constrained-sdnode.7a38cbe66f.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll) @roundeven_v8f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i64

; Function Attrs: strictfp
define <8 x half> @roundeven_v8f16(<8 x half> %x) #0 {
  %B = and i64 -1, 1
  %a = call <8 x half> @llvm.experimental.constrained.roundeven.v8f16(<8 x half> %x, metadata !"fpexcept.strict")
  store i64 %B, ptr @G.1, align 4
  ret <8 x half> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <8 x half> @llvm.experimental.constrained.roundeven.v8f16(<8 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,+c -O3 -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,+c -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-froundeven-constrained-sdnode.2ab0c10c02.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-froundeven-constrained-sdnode.3324c3fa55.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-froundeven-constrained-sdnode.4855af808f.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zihintpause -O2 -code-model=small
fixed-vectors-froundeven-constrained-sdnode.67d4f00216.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zbs -O1
fixed-vectors-froundeven-constrained-sdnode.7a38cbe66f.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O3
fixed-vectors-froundeven-constrained-sdnode.9ec615e143.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zvbb -O0 -code-model=medium

Generated 2026-11-29 14:49 UTC.