fallback: translate: call llvm.experimental.constrained.floor.v1f32
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.floor.v1f32 M |
| Occurrences: | 5 in 4 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-ffloor-constrained-sdnode.82dfbe7d6c.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) @floor_v1f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i32
; Function Attrs: strictfp
define <1 x float> @floor_v1f32(<1 x float> %x) #0 {
%a = call <1 x float> @llvm.experimental.constrained.floor.v1f32(<1 x float> %x, metadata !"fpexcept.strict")
%B = add i32 0, 2147483647
store i32 %B, ptr @G.2, align 4
ret <1 x float> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <1 x float> @llvm.experimental.constrained.floor.v1f32(<1 x float>, metadata) #1
attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.floor.v1f32: ' %a = call <1 x float> @llvm.experimental.constrained.floor.v1f32(<1 x float> %x, metadata !"fpexcept.strict")' (in function: floor_v1f32)
warning: Instruction selection used fallback path for floor_v1f32
Occurrences (5):
Generated 2026-11-29 14:49 UTC.