fallback: translate: call llvm.experimental.constrained.trunc.v8f64
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.trunc.v8f64 M |
| Occurrences: | 4 in 2 configs, 1 test files |
| Snippet from: | fixed-vectors-ftrunc-constrained-sdnode.417fd40031.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v8f64 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: strictfp
define <8 x double> @trunc_v8f64(<8 x double> %x) #0 {
%A = alloca <8 x double>, align 64
store <8 x double> poison, ptr %A, align 64
%B = fadd <8 x double> %x, zeroinitializer
%a = call <8 x double> @llvm.experimental.constrained.trunc.v8f64(<8 x double> %x, metadata !"fpexcept.strict")
store <8 x double> %B, ptr %A, align 64
ret <8 x double> %a
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <8 x double> @llvm.experimental.constrained.trunc.v8f64(<8 x double>, metadata) #1
attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.trunc.v8f64: ' %a = call <8 x double> @llvm.experimental.constrained.trunc.v8f64(<8 x double> %x, metadata !"fpexcept.strict")' (in function: trunc_v8f64)
warning: Instruction selection used fallback path for trunc_v8f64
Occurrences (4):
Generated 2026-11-29 14:49 UTC.