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

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

Snippet:

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

Occurrences (18):

InputFunctionConfig
rv64-half-convert-strict.llsitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.llsitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.llsitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.0bd3bf6372.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.11e4405f46.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.3b047603f3.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.623f0984ca.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.77662c5c7d.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.7c37e3a124.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.8846381c1b.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.a9d05b1b27.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.c43fee92c0.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.c719cd83c0.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.cd06a0010a.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.d646a1a82b.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.e5260b5875.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
rv64-half-convert-strict.f584a2da7d.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
rv64-half-convert-strict.fb08f0d2ec.ll (mutant of rv64-half-convert-strict.ll)sitofp_i128_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation

Generated 2026-10-15 08:05 UTC.