[llvm] [ARM][SDAG] Half promote llvm.lrint nodes. (PR #161088)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 3 00:17:03 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
----------------
davemgreen wrote:
Ah I see what you mean, I've added it in. It does the opposite as vfp4 includes the original fp16 convert instructions, but we don't use vrintx.f32 for the f32. It looks like the f16 is type legalized before the lrint is expanded.
https://github.com/llvm/llvm-project/pull/161088
More information about the llvm-commits
mailing list