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