fallback: translate: call llvm.experimental.constrained.roundeven.v16f32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.roundeven.v16f32 M |
| Occurrences: | 3 in 3 configs, 1 test files, 9 more counted only |
| Snippet from: | fixed-vectors-froundeven-constrained-sdnode.135595cdf6.ll (mutant of fixed-vectors-froundeven-constrained-sdnode.ll) @roundeven_v16f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicond -O2 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global <4 x i32>
; Function Attrs: strictfp
define <16 x float> @roundeven_v16f32(<16 x float> %x) #0 {
%LGV = load <4 x i32>, ptr @G.2, align 16
%a = call <16 x float> @llvm.experimental.constrained.roundeven.v16f32(<16 x float> %x, metadata !"fpexcept.strict")
%C = icmp uge <4 x i32> splat (i32 1), %LGV
store <4 x i1> %C, ptr poison, align 1
ret <16 x float> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <16 x float> @llvm.experimental.constrained.roundeven.v16f32(<16 x float>, 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,+zicond -O2 -code-model=medium -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,+zicond -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.roundeven.v16f32: ' %a = call <16 x float> @llvm.experimental.constrained.roundeven.v16f32(<16 x float> %x, metadata !"fpexcept.strict")' (in function: roundeven_v16f32)
warning: Instruction selection used fallback path for roundeven_v16f32
Occurrences (3):
Generated 2026-11-29 14:49 UTC.