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

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

Snippet:

@G = external global <2 x i1>

; Function Attrs: strictfp
define <2 x half> @round_v2f16(<2 x half> %x) #0 {
  %a = call <2 x half> @llvm.experimental.constrained.round.v2f16(<2 x half> %x, metadata !"fpexcept.strict")
  %C = fcmp ult <2 x half> %a, %a
  store <2 x i1> %C, ptr @G, align 1
  ret <2 x half> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <2 x half> @llvm.experimental.constrained.round.v2f16(<2 x half>, 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,+zve32x -O3 -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=+d,+zvfh,+v,+zve32x -O3 -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.v2f16: '  %a = call <2 x half> @llvm.experimental.constrained.round.v2f16(<2 x half> %x, metadata !"fpexcept.strict")' (in function: round_v2f16)
warning: Instruction selection used fallback path for round_v2f16

Occurrences (6):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.07b7c49f9e.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve32x -O3 -code-model=small
fixed-vectors-fround-constrained-sdnode.157822d390.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zfa -O2
fixed-vectors-fround-constrained-sdnode.39e24c47f1.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v -O2
fixed-vectors-fround-constrained-sdnode.640f6699cb.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O1
fixed-vectors-fround-constrained-sdnode.aa11276ec9.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh -O2
fixed-vectors-fround-constrained-sdnode.d767030d11.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+f -O2 -code-model=medium

Generated 2026-11-29 14:49 UTC.