fallback: translate: call llvm.experimental.constrained.fptosi.i128.f64

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:translate: call llvm.experimental.constrained.fptosi.i128.f64
Occurrences:12 in 3 configs, 1 test files
Snippet from:rv64-double-convert-strict.ll @fptosi_f64_to_i128 via llvm-extract
Config:-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define i128 @fptosi_f64_to_i128(double %a) #0 {
  %1 = call i128 @llvm.experimental.constrained.fptosi.i128.f64(double %a, metadata !"fpexcept.strict")
  ret i128 %1
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare i128 @llvm.experimental.constrained.fptosi.i128.f64(double, metadata) #1

attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.fptosi.i128.f64: '  %1 = call i128 @llvm.experimental.constrained.fptosi.i128.f64(double %a, metadata !"fpexcept.strict")' (in function: fptosi_f64_to_i128)
warning: Instruction selection used fallback path for fptosi_f64_to_i128

Occurrences (12):

InputFunctionConfig
rv64-double-convert-strict.llfptosi_f64_to_i128-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64-double-convert-strict.llfptosi_f64_to_i128-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.llfptosi_f64_to_i128-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.0ea900c1bb.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64-double-convert-strict.259b38edca.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.6cd30e6cae.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.a5959a128a.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.c97b201abb.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.ce850c9832.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64-double-convert-strict.d36f1a7185.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.edd5590516.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64-double-convert-strict.f0e2812aee.ll (mutant of rv64-double-convert-strict.ll)fptosi_f64_to_i128-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation

Generated 2026-10-15 08:05 UTC.