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

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

Snippet:

@G = external global i32
@G.1 = external global i32

; Function Attrs: strictfp
define <16 x float> @round_v16f32(<16 x float> %x) #0 {
  %LGV = load i32, ptr @G, align 4
  %B = mul i32 -1, %LGV
  %a = call <16 x float> @llvm.experimental.constrained.round.v16f32(<16 x float> %x, metadata !"fpexcept.strict")
  store i32 %B, ptr @G.1, align 4
  ret <16 x float> %a
}

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.03945d7066.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0
fixed-vectors-fround-constrained-sdnode.107a8d7d48.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0
fixed-vectors-fround-constrained-sdnode.2353e43b98.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
fixed-vectors-fround-constrained-sdnode.4572eb0e1d.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2

Generated 2026-11-29 14:49 UTC.