fallback: translate: call llvm.experimental.constrained.floor.v8f16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.floor.v8f16 M |
| Occurrences: | 3 in 3 configs, 1 test files, 5 more counted only |
| Snippet from: | fixed-vectors-ffloor-constrained-sdnode.71ee7d8ab5.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) @floor_v8f16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+f -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <8 x i8>
; Function Attrs: strictfp
define <8 x half> @floor_v8f16(<8 x half> %x) #0 {
%B = and <8 x i8> splat (i8 16), splat (i8 127)
%a = call <8 x half> @llvm.experimental.constrained.floor.v8f16(<8 x half> %x, metadata !"fpexcept.strict")
store <8 x i8> %B, ptr @G, align 8
ret <8 x half> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <8 x half> @llvm.experimental.constrained.floor.v8f16(<8 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,+zve64d,+f -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,+zve64d,+f -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.floor.v8f16: ' %a = call <8 x half> @llvm.experimental.constrained.floor.v8f16(<8 x half> %x, metadata !"fpexcept.strict")' (in function: floor_v8f16)
warning: Instruction selection used fallback path for floor_v8f16
Occurrences (3):
Generated 2026-11-29 14:49 UTC.