fallback: translate: call llvm.experimental.constrained.lround.i64.f16
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.constrained.lround.i64.f16 |
| Occurrences: | 8 in 8 configs, 2 test files |
| Snippet from: | zfh-half-intrinsics-strict.ll @lround_f16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define i64 @lround_f16(half %a) #0 {
%1 = call i64 @llvm.experimental.constrained.lround.i64.f16(half %a, metadata !"fpexcept.strict") #2
ret i64 %1
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare i64 @llvm.experimental.constrained.lround.i64.f16(half, metadata) #1
attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
attributes #2 = { strictfp }
Reproduce:
llc -mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.lround.i64.f16: ' %1 = call i64 @llvm.experimental.constrained.lround.i64.f16(half %a, metadata !"fpexcept.strict") #2' (in function: lround_f16)
warning: Instruction selection used fallback path for lround_f16
Occurrences (8):
Generated 2026-10-15 08:05 UTC.