[llvm] [ARM][SDAG] Half promote llvm.lrint nodes. (PR #161088)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 16:16:22 PDT 2025


================
@@ -3,12 +3,35 @@
 ; RUN: llc < %s -mtriple=armv7-none-eabihf -mattr=+vfp2 -float-abi=hard | FileCheck %s --check-prefixes=CHECK,CHECK-NOFP16
 ; RUN: llc < %s -mtriple=armv7-none-eabihf -mattr=+vfp2,+fullfp16 -float-abi=hard | FileCheck %s --check-prefixes=CHECK,CHECK-FP16
----------------
efriedma-quic wrote:

I'm specifically wondering about the case where we have fparmv8 but not fullfp16; if I'm understanding correctly, we should be able to __aeabi_h2f to float, and then vrintx.f32.  Want to see that's happening, as opposed to somehow calling lrintf.

https://github.com/llvm/llvm-project/pull/161088


More information about the llvm-commits mailing list