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

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

Snippet:

@G.4 = external global i1

; Function Attrs: strictfp
define <16 x half> @round_v16f16(<16 x half> %x) #0 {
  %C = icmp ugt i1 false, true
  %a = call <16 x half> @llvm.experimental.constrained.round.v16f16(<16 x half> %x, metadata !"fpexcept.strict")
  store i1 %C, ptr @G.4, align 1
  ret <16 x half> %a
}

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fixed-vectors-fround-constrained-sdnode.03945d7066.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0
fixed-vectors-fround-constrained-sdnode.161b7611fa.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr -O3
fixed-vectors-fround-constrained-sdnode.95298fea6b.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O1
fixed-vectors-fround-constrained-sdnode.fdeca5b4aa.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll)round_v16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1 -code-model=small

Generated 2026-11-29 14:49 UTC.