fallback: translate: call llvm.experimental.constrained.uitofp.f32.i32

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.experimental.constrained.uitofp.f32.i32
Occurrences:38 in 8 configs, 2 test files
Snippet from:float-convert-strict.ll @fcvt_s_wu via llvm-extract
Config:-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define float @fcvt_s_wu(i32 %a) #0 {
  %1 = call float @llvm.experimental.constrained.uitofp.f32.i32(i32 %a, metadata !"round.dynamic", metadata !"fpexcept.strict")
  ret float %1
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.uitofp.f32.i32: '  %1 = call float @llvm.experimental.constrained.uitofp.f32.i32(i32 %a, metadata !"round.dynamic", metadata !"fpexcept.strict")' (in function: fcvt_s_wu)
warning: Instruction selection used fallback path for fcvt_s_wu

Occurrences (38) (first 15):

InputFunctionConfig
float-convert-strict.llfcvt_s_wu-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.llfcvt_s_wu_load-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.llfcvt_s_wu_demanded_bits-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.llfcvt_s_wu-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
float-convert-strict.llfcvt_s_wu-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu_load-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu_demanded_bits-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.llfcvt_s_wu_load-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.llfcvt_s_wu_demanded_bits-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.llfcvt_s_wu-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
float-convert-strict.llfcvt_s_wu-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu_load-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu_demanded_bits-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
rv64f-float-convert-strict.lluitofp_aext_i32_to_f32-mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs -disable-strictnode-mutation

Generated 2026-11-29 14:49 UTC.