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

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

Snippet:

@G.2 = external global <2 x float>

; Function Attrs: strictfp
define <2 x float> @round_v2f32(<2 x float> %x) #0 {
  %a = call <2 x float> @llvm.experimental.constrained.round.v2f32(<2 x float> %x, metadata !"fpexcept.strict")
  %B = fadd <2 x float> %a, zeroinitializer
  store <2 x float> %B, ptr @G.2, align 8
  ret <2 x float> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x float> @llvm.experimental.constrained.round.v2f32(<2 x float>, 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 -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 -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.107a8d7d48.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0
fixed-vectors-fround-constrained-sdnode.27dfef97a7.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O1
fixed-vectors-fround-constrained-sdnode.a9c27cb327.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O3
fixed-vectors-fround-constrained-sdnode.aa174476e6.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr -O3 -code-model=medium
fixed-vectors-fround-constrained-sdnode.e61275aef2.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-fround-constrained-sdnode.f3408f9d84.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2

Generated 2026-11-29 14:49 UTC.