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

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:translate: call llvm.experimental.constrained.fptosi.i32.f64
Occurrences:42 in 10 configs, 3 test files
Snippet from:double-convert-strict.ll @fcvt_w_d via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

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

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

Reproduce:

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

Local llc output:

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

Occurrences (42):

InputFunctionConfig
double-convert-strict.llfcvt_w_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-convert-strict.llfcvt_w_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-convert-strict.llfcvt_w_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-convert-strict.llfcvt_w_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-convert-strict.llfcvt_w_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-convert-strict.llfcvt_w_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
rv64d-double-convert-strict.llaext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64d-double-convert-strict.llsext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64d-double-convert-strict.llzext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64d-double-convert-strict.llaext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64d-double-convert-strict.llsext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64d-double-convert-strict.llzext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64i-double-softfloat.llstrict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.llstrict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs
double-convert-strict.0d41d86f58.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-convert-strict.3c7b62f9b6.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-convert-strict.3fc71af9fb.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-convert-strict.472e3cc30c.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-convert-strict.4998dbe6b9.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-convert-strict.620f7e06c7.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-convert-strict.ab5b168141.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-convert-strict.b00a46ec8c.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-convert-strict.c748783071.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-convert-strict.cfd3e74e91.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-convert-strict.dbd1073ee4.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-convert-strict.e702191f3c.ll (mutant of double-convert-strict.ll)fcvt_w_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
rv64d-double-convert-strict.05601a3929.ll (mutant of rv64d-double-convert-strict.ll)sext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64d-double-convert-strict.05601a3929.ll (mutant of rv64d-double-convert-strict.ll)zext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64d-double-convert-strict.445d986f42.ll (mutant of rv64d-double-convert-strict.ll)sext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64d-double-convert-strict.445d986f42.ll (mutant of rv64d-double-convert-strict.ll)zext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64d-double-convert-strict.e0d20877d4.ll (mutant of rv64d-double-convert-strict.ll)zext_fptosi-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation
rv64d-double-convert-strict.ef713bcbe1.ll (mutant of rv64d-double-convert-strict.ll)zext_fptosi-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -disable-strictnode-mutation
rv64i-double-softfloat.01df972dc0.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.0a84721d68.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.3d1057c105.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs
rv64i-double-softfloat.44a37cfcf3.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs
rv64i-double-softfloat.4e04ee060a.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs
rv64i-double-softfloat.5ca54778d3.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.76e8a24075.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs
rv64i-double-softfloat.7d4fcdf098.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.ca159e8498.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -mattr=+f -target-abi lp64f -verify-machineinstrs
rv64i-double-softfloat.e281972ace.ll (mutant of rv64i-double-softfloat.ll)strict_fp64_to_si32-mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.