fallback: translate: call llvm.experimental.constrained.floor.v4f32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.floor.v4f32 M |
| Occurrences: | 5 in 5 configs, 1 test files, 7 more counted only |
| Snippet from: | fixed-vectors-ffloor-constrained-sdnode.66b5a260af.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) @floor_v4f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
; Function Attrs: strictfp
define <4 x float> @floor_v4f32(<4 x float> %x) #0 {
%LGV = load i64, ptr @G, align 4
%B = xor i64 %LGV, 0
%a = call <4 x float> @llvm.experimental.constrained.floor.v4f32(<4 x float> %x, metadata !"fpexcept.strict")
store i64 %B, ptr poison, align 4
ret <4 x float> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x float> @llvm.experimental.constrained.floor.v4f32(<4 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=+zvfh,+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.floor.v4f32: ' %a = call <4 x float> @llvm.experimental.constrained.floor.v4f32(<4 x float> %x, metadata !"fpexcept.strict")' (in function: floor_v4f32)
warning: Instruction selection used fallback path for floor_v4f32
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-ffloor-constrained-sdnode.1276002a1b.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) | floor_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 -code-model=small |
| fixed-vectors-ffloor-constrained-sdnode.542bc8be0c.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) | floor_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zba -O2 |
| fixed-vectors-ffloor-constrained-sdnode.66b5a260af.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) | floor_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v -O2 |
| fixed-vectors-ffloor-constrained-sdnode.71ee7d8ab5.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) | floor_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+f -O3 |
| fixed-vectors-ffloor-constrained-sdnode.c80cd973c2.ll (mutant of fixed-vectors-ffloor-constrained-sdnode.ll) | floor_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 |
Generated 2026-11-29 14:49 UTC.