fallback: translate: call llvm.experimental.constrained.fptosi.i64.f64
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.fptosi.i64.f64 |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | double-convert-strict.ll @fcvt_l_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 i64 @fcvt_l_d(double %a) #0 {
%1 = call i64 @llvm.experimental.constrained.fptosi.i64.f64(double %a, metadata !"fpexcept.strict")
ret i64 %1
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare i64 @llvm.experimental.constrained.fptosi.i64.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.i64.f64: ' %1 = call i64 @llvm.experimental.constrained.fptosi.i64.f64(double %a, metadata !"fpexcept.strict")' (in function: fcvt_l_d)
warning: Instruction selection used fallback path for fcvt_l_d
Occurrences (6):
| Input | Function | Config |
|---|
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 |
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 |
| double-convert-strict.ll | fcvt_l_d | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation |
Generated 2026-10-15 08:05 UTC.