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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.constrained.round.v8f32 M
Occurrences:7 in 7 configs, 1 test files, 13 more counted only
Snippet from:fixed-vectors-fround-constrained-sdnode.a5d646e5c0.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll) @round_v8f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i16

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

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.640f6699cb.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O1
fixed-vectors-fround-constrained-sdnode.6b85fedd3a.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+v,+zfhmin -O1
fixed-vectors-fround-constrained-sdnode.a5d646e5c0.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-fround-constrained-sdnode.aa11276ec9.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh -O2
fixed-vectors-fround-constrained-sdnode.b7b7767db8.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zbkb -O0 -code-model=small
fixed-vectors-fround-constrained-sdnode.e291513c9a.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O3
fixed-vectors-fround-constrained-sdnode.e4e41bfdae.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zbkb -O0

Generated 2026-11-29 14:49 UTC.