fallback: translate: call llvm.experimental.constrained.trunc.v1f32
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.trunc.v1f32 M |
| Occurrences: | 4 in 4 configs, 1 test files, 2 more counted only |
| Snippet from: | fixed-vectors-ftrunc-constrained-sdnode.be5f2b417d.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v1f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: strictfp
define <1 x float> @trunc_v1f32(<1 x float> %x) #0 {
%B = fmul <1 x float> %x, %x
%a = call <1 x float> @llvm.experimental.constrained.trunc.v1f32(<1 x float> %B, metadata !"fpexcept.strict")
ret <1 x float> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <1 x float> @llvm.experimental.constrained.trunc.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 -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.trunc.v1f32: ' %a = call <1 x float> @llvm.experimental.constrained.trunc.v1f32(<1 x float> %B, metadata !"fpexcept.strict")' (in function: trunc_v1f32)
warning: Instruction selection used fallback path for trunc_v1f32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-ftrunc-constrained-sdnode.2f98ca24ed.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v1f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0 |
| fixed-vectors-ftrunc-constrained-sdnode.be5f2b417d.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v1f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1 -code-model=small |
| fixed-vectors-ftrunc-constrained-sdnode.bffe73e1e2.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v1f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O3 -code-model=small |
| fixed-vectors-ftrunc-constrained-sdnode.f15bd3eed9.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v1f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zicsr -O3 |
Generated 2026-11-29 14:49 UTC.