fallback: translate: call llvm.experimental.constrained.roundeven.v32f16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.roundeven.v32f16 M |
| Occurrences: | 5 in 5 configs, 1 test files, 8 more counted only |
| Snippet from: | fixed-vectors-froundeven-constrained-sdnode.2cf082f35d.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll) @roundeven_v32f16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global bfloat
; Function Attrs: strictfp
define <32 x half> @roundeven_v32f16(<32 x half> %x) #0 {
%LGV = load bfloat, ptr @G.2, align 2
%a = call <32 x half> @llvm.experimental.constrained.roundeven.v32f16(<32 x half> %x, metadata !"fpexcept.strict")
%B = fmul bfloat 3.389530e+38, %LGV
store bfloat %B, ptr poison, align 2
ret <32 x half> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <32 x half> @llvm.experimental.constrained.roundeven.v32f16(<32 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 -O2 -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 -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.roundeven.v32f16: ' %a = call <32 x half> @llvm.experimental.constrained.roundeven.v32f16(<32 x half> %x, metadata !"fpexcept.strict")' (in function: roundeven_v32f16)
warning: Instruction selection used fallback path for roundeven_v32f16
Occurrences (5):
Generated 2026-11-29 14:49 UTC.