fallback: translate: call llvm.experimental.constrained.uitofp.f16.i128

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

Snippet:

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

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

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

Reproduce:

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

Local llc output:

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

Occurrences (9):

InputFunctionConfig
rv64-half-convert-strict.lluitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.lluitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.lluitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.04d2ba538c.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.1ce5a40139.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.884a2dcbc7.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.94e5a4559b.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.9ceebce52f.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.c97179fa54.ll (mutant of rv64-half-convert-strict.ll)uitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation

Generated 2026-10-15 08:05 UTC.