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

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

Snippet:

@G.1 = external global <16 x i1>

; Function Attrs: strictfp
define <16 x float> @round_v16f32(<16 x float> %x) #0 {
  %C = fcmp one <16 x float> %x, %x
  %a = call <16 x float> @llvm.experimental.constrained.round.v16f32(<16 x float> %x, metadata !"fpexcept.strict")
  store <16 x i1> %C, ptr poison, align 2
  %C1 = icmp ne <16 x i1> %C, %C
  store <16 x i1> %C1, ptr @G.1, align 2
  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=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O1 -code-model=small -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 (5):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.39e24c47f1.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O2
fixed-vectors-fround-constrained-sdnode.7ec8aeceff.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O1 -code-model=small
fixed-vectors-fround-constrained-sdnode.95fabfa242.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0
fixed-vectors-fround-constrained-sdnode.a5d646e5c0.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
fixed-vectors-fround-constrained-sdnode.d767030d11.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+f -O2 -code-model=medium

Generated 2026-11-29 14:49 UTC.