fallback: translate: call llvm.experimental.constrained.round.v8f64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.experimental.constrained.round.v8f64 M
Occurrences:5 in 5 configs, 1 test files, 6 more counted only
Snippet from:fixed-vectors-fround-constrained-sdnode.aade0d794c.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll) @round_v8f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr,+zvkb -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

; Function Attrs: strictfp
define <8 x double> @round_v8f64(<8 x double> %x) #0 {
  %LGV = load <4 x i32>, ptr @G, align 16
  %a = call <8 x double> @llvm.experimental.constrained.round.v8f64(<8 x double> %x, metadata !"fpexcept.strict")
  %B = shl <4 x i32> %LGV, splat (i32 1)
  %C = fcmp true <8 x double> %x, %x
  store <4 x i32> %B, ptr @G.1, align 16
  store <8 x i1> %C, ptr @G.4, align 1
  ret <8 x double> %a
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.57e63e9f4e.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O2
fixed-vectors-fround-constrained-sdnode.75c82fbeb6.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zfh,+zvkb -O0 -code-model=medium
fixed-vectors-fround-constrained-sdnode.aade0d794c.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr,+zvkb -O2
fixed-vectors-fround-constrained-sdnode.e1de27807a.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+xtheadba -O2
fixed-vectors-fround-constrained-sdnode.eac34473cd.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zbkb -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.