fallback: translate: call llvm.experimental.constrained.trunc.v4f64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.trunc.v4f64 M |
| Occurrences: | 4 in 4 configs, 1 test files, 20 more counted only |
| Snippet from: | fixed-vectors-ftrunc-constrained-sdnode.2f5eedd885.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v4f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: strictfp
define <4 x double> @trunc_v4f64(<4 x double> %x) #0 {
%B = fdiv <4 x double> %x, %x
%a = call <4 x double> @llvm.experimental.constrained.trunc.v4f64(<4 x double> %B, metadata !"fpexcept.strict")
ret <4 x double> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x double> @llvm.experimental.constrained.trunc.v4f64(<4 x double>, 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 -O2 -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 -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.trunc.v4f64: ' %a = call <4 x double> @llvm.experimental.constrained.trunc.v4f64(<4 x double> %B, metadata !"fpexcept.strict")' (in function: trunc_v4f64)
warning: Instruction selection used fallback path for trunc_v4f64
Occurrences (4):
Generated 2026-11-29 14:49 UTC.