fallback: translate: call llvm.experimental.constrained.trunc.v2f32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.trunc.v2f32 M |
| Occurrences: | 7 in 7 configs, 1 test files, 13 more counted only |
| Snippet from: | fixed-vectors-ftrunc-constrained-sdnode.cac5e0e2e6.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v2f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: strictfp
define <2 x float> @trunc_v2f32(<2 x float> %x) #0 {
%C = fcmp false <2 x float> %x, %x
%a = call <2 x float> @llvm.experimental.constrained.trunc.v2f32(<2 x float> %x, metadata !"fpexcept.strict")
store <2 x i1> %C, ptr poison, 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.trunc.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=+zvfh,+v,+m -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.trunc.v2f32: ' %a = call <2 x float> @llvm.experimental.constrained.trunc.v2f32(<2 x float> %x, metadata !"fpexcept.strict")' (in function: trunc_v2f32)
warning: Instruction selection used fallback path for trunc_v2f32
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-ftrunc-constrained-sdnode.24c6d971ce.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+zfhmin -O1 |
| fixed-vectors-ftrunc-constrained-sdnode.4b5fc0f2d9.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfhmin -O3 |
| fixed-vectors-ftrunc-constrained-sdnode.a1f3f98cea.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1 |
| fixed-vectors-ftrunc-constrained-sdnode.a434ded116.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfa -O3 |
| fixed-vectors-ftrunc-constrained-sdnode.c2f8da6f25.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0 |
| fixed-vectors-ftrunc-constrained-sdnode.cac5e0e2e6.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3 |
| fixed-vectors-ftrunc-constrained-sdnode.cf2adfce10.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) | trunc_v2f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0 |
Generated 2026-11-29 14:49 UTC.