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

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

Snippet:

@G = external global <4 x half>

; Function Attrs: strictfp
define <4 x half> @roundeven_v4f16(<4 x half> %x) #0 {
  %LGV = load <4 x half>, ptr @G, align 8
  %a = call <4 x half> @llvm.experimental.constrained.roundeven.v4f16(<4 x half> %x, metadata !"fpexcept.strict")
  %S = shufflevector <4 x half> %a, <4 x half> %LGV, <4 x i32> poison
  ret <4 x half> %S
}

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fixed-vectors-froundeven-constrained-sdnode.3324c3fa55.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v4f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-froundeven-constrained-sdnode.dd1227e036.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v4f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0
fixed-vectors-froundeven-constrained-sdnode.fd3d569b3b.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v4f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfa -O2

Generated 2026-11-29 14:49 UTC.