fallback: translate: call llvm.experimental.constrained.roundeven.v16f16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.roundeven.v16f16 M |
| Occurrences: | 3 in 3 configs, 1 test files, 13 more counted only |
| Snippet from: | fixed-vectors-froundeven-constrained-sdnode.9075f7e109.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll) @roundeven_v16f16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zfh,+a -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <16 x i1>
; Function Attrs: strictfp
define <16 x half> @roundeven_v16f16(<16 x half> %x) #0 {
%C = fcmp ogt <16 x half> %x, splat (half 4.200000e+01)
%a = call <16 x half> @llvm.experimental.constrained.roundeven.v16f16(<16 x half> %x, metadata !"fpexcept.strict")
store <16 x i1> %C, ptr @G, align 2
ret <16 x half> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <16 x half> @llvm.experimental.constrained.roundeven.v16f16(<16 x half>, 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,+zfh,+a -O1 -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,+zfh,+a -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.roundeven.v16f16: ' %a = call <16 x half> @llvm.experimental.constrained.roundeven.v16f16(<16 x half> %x, metadata !"fpexcept.strict")' (in function: roundeven_v16f16)
warning: Instruction selection used fallback path for roundeven_v16f16
Occurrences (3):
Generated 2026-11-29 14:49 UTC.