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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.experimental.constrained.roundeven.v2f64 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:fixed-vectors-froundeven-constrained-sdnode.7409dea5cb.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll) @roundeven_v2f64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global double
@G.1 = external global <2 x double>

; Function Attrs: strictfp
define <2 x double> @roundeven_v2f64(<2 x double> %x) #0 {
  %LGV = load double, ptr @G, align 8
  %I = insertelement <2 x double> %x, double %LGV, i8 -128
  %a = call <2 x double> @llvm.experimental.constrained.roundeven.v2f64(<2 x double> %x, metadata !"fpexcept.strict")
  store <2 x double> %I, ptr @G.1, align 16
  ret <2 x double> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x double> @llvm.experimental.constrained.roundeven.v2f64(<2 x double>, metadata) #1

attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (2):

InputFunctionConfig
fixed-vectors-froundeven-constrained-sdnode.7409dea5cb.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v2f64-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-froundeven-constrained-sdnode.a6cb314a34.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll)roundeven_v2f64-mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.