fallback: translate: call llvm.experimental.constrained.round.v4f16
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.round.v4f16 M |
| Occurrences: | 4 in 2 configs, 1 test files |
| Snippet from: | fixed-vectors-fround-constrained-sdnode.2ce364af08.ll (mutant of fixed-vectors-fround-constrained-sdnode.ll) @round_v4f16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: strictfp
define <4 x half> @round_v4f16(<4 x half> %x) #0 {
%A = alloca <4 x i1>, align 1
store <4 x i1> poison, ptr %A, align 1
%a = call <4 x half> @llvm.experimental.constrained.round.v4f16(<4 x half> %x, metadata !"fpexcept.strict")
%C = fcmp ole <4 x half> %a, %a
store <4 x i1> %C, ptr %A, align 1
ret <4 x half> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x half> @llvm.experimental.constrained.round.v4f16(<4 x half>, metadata) #1
attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.round.v4f16: ' %a = call <4 x half> @llvm.experimental.constrained.round.v4f16(<4 x half> %x, metadata !"fpexcept.strict")' (in function: round_v4f16)
warning: Instruction selection used fallback path for round_v4f16
Occurrences (4):
Generated 2026-11-29 14:49 UTC.