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

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:translate: call llvm.experimental.constrained.uitofp.f32.i16
Occurrences:18 in 6 configs, 1 test files
Snippet from:float-convert-strict.ll @fcvt_s_wu_i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define float @fcvt_s_wu_i16(i16 zeroext %a) #0 {
  %1 = call float @llvm.experimental.constrained.uitofp.f32.i16(i16 %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.i16(i16, 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.i16: '  %1 = call float @llvm.experimental.constrained.uitofp.f32.i16(i16 %a, metadata !"round.dynamic", metadata !"fpexcept.strict")' (in function: fcvt_s_wu_i16)
warning: Instruction selection used fallback path for fcvt_s_wu_i16

Occurrences (18):

InputFunctionConfig
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
float-convert-strict.llfcvt_s_wu_i16-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.0698db6066.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.10b8488a56.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.110d4b65d4.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.1ada0c9e58.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
float-convert-strict.1efce73b8d.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.5348af5964.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.5f2750a10e.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
float-convert-strict.64e4f776e6.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
float-convert-strict.801eeb131c.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f
float-convert-strict.85fd3599db.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
float-convert-strict.a8e56acd38.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f
float-convert-strict.d27543ff5b.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64

Generated 2026-10-15 08:05 UTC.