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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.constrained.round.v4f32 M
Occurrences:4 in 4 configs, 1 test files, 17 more counted only
Snippet from:fixed-vectors-fround-constrained-sdnode.7ec8aeceff.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll) @round_v4f32 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.3 = external global <4 x i1>

; Function Attrs: strictfp
define <4 x float> @round_v4f32(<4 x float> %x) #0 {
  %a = call <4 x float> @llvm.experimental.constrained.round.v4f32(<4 x float> %x, metadata !"fpexcept.strict")
  %C = fcmp oeq <4 x float> %a, %a
  store <4 x i1> %C, ptr @G.3, align 1
  ret <4 x float> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x float> @llvm.experimental.constrained.round.v4f32(<4 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.v4f32: '  %a = call <4 x float> @llvm.experimental.constrained.round.v4f32(<4 x float> %x, metadata !"fpexcept.strict")' (in function: round_v4f32)
warning: Instruction selection used fallback path for round_v4f32

Occurrences (4):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.640f6699cb.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O1
fixed-vectors-fround-constrained-sdnode.7ec8aeceff.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v4f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O1 -code-model=small
fixed-vectors-fround-constrained-sdnode.b7b7767db8.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v4f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zbkb -O0 -code-model=small
fixed-vectors-fround-constrained-sdnode.b7c6af009e.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zcb -O0

Generated 2026-11-29 14:49 UTC.