fallback: translate: call llvm.experimental.constrained.fptosi.v4i64.v4f64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.fptosi.v4i64.v4f64 M |
| Occurrences: | 4 in 4 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-vfptoi-constrained-sdnode.cdb1baf512.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) @vfptosi_v4f64_v4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zvbb -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.5 = external global <4 x double>
@G.6 = external global <4 x i1>
; Function Attrs: strictfp
define <4 x i64> @vfptosi_v4f64_v4i64(<4 x double> %va) #0 {
%LGV = load <4 x double>, ptr @G.5, align 32
%C = fcmp uno <4 x double> %va, %LGV
%evec = call <4 x i64> @llvm.experimental.constrained.fptosi.v4i64.v4f64(<4 x double> %va, metadata !"fpexcept.strict")
store <4 x i1> %C, ptr @G.6, align 1
ret <4 x i64> %evec
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x i64> @llvm.experimental.constrained.fptosi.v4i64.v4f64(<4 x double>, 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,+zfh,+zvfh,+experimental-zvfbfa,+v,+zvbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zvbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.fptosi.v4i64.v4f64: ' %evec = call <4 x i64> @llvm.experimental.constrained.fptosi.v4i64.v4f64(<4 x double> %va, metadata !"fpexcept.strict")' (in function: vfptosi_v4f64_v4i64)
warning: Instruction selection used fallback path for vfptosi_v4f64_v4i64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-vfptoi-constrained-sdnode.24148de24d.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) | vfptosi_v4f64_v4i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zba -O1 |
| fixed-vectors-vfptoi-constrained-sdnode.72e392bb58.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) | vfptosi_v4f64_v4i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O3 |
| fixed-vectors-vfptoi-constrained-sdnode.cb78dce806.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) | vfptosi_v4f64_v4i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+c,+zicond -O3 |
| fixed-vectors-vfptoi-constrained-sdnode.cdb1baf512.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) | vfptosi_v4f64_v4i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zvbb -O0 |
Generated 2026-11-29 14:49 UTC.