[clang] [clang][doc] Add release note for changes to `-fveclib={ArmPL,SLEEF}` (PR #113673)

Benjamin Maxwell via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 25 03:56:08 PDT 2024


https://github.com/MacDue updated https://github.com/llvm/llvm-project/pull/113673

>From fa7576522c8dfffffc59365c6caa8407469a5a4d Mon Sep 17 00:00:00 2001
From: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: Fri, 25 Oct 2024 10:38:01 +0000
Subject: [PATCH 1/2] [clang][doc] Add release note for changes to
 `-fveclib={ArmPL,SLEEF}`

Changed in #112580.
---
 clang/docs/ReleaseNotes.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index ed0c0e369fca74..6a9d986eb704ad 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -302,6 +302,11 @@ Modified Compiler Flags
   the ``promoted`` algorithm for complex division when possible rather than the
   less basic (limited range) algorithm.
 
+- The ``-fveclib`` option has been updated to enable ``-fno-fast-math`` for
+  ``-fveclib=ArmPL`` and ``-fveclib=SLEEF``. This gives Clang more opportunities
+  to utilize these vector libraries. The behavior for all other vector function
+  libraries remains unchanged.
+
 Removed Compiler Flags
 -------------------------
 

>From b4a8d8dddee174dfb183214a745900825d9b7da9 Mon Sep 17 00:00:00 2001
From: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: Fri, 25 Oct 2024 10:55:43 +0000
Subject: [PATCH 2/2] Fix typo

---
 clang/docs/ReleaseNotes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 6a9d986eb704ad..9e1558d8acc99f 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -302,7 +302,7 @@ Modified Compiler Flags
   the ``promoted`` algorithm for complex division when possible rather than the
   less basic (limited range) algorithm.
 
-- The ``-fveclib`` option has been updated to enable ``-fno-fast-math`` for
+- The ``-fveclib`` option has been updated to enable ``-fno-math-errno`` for
   ``-fveclib=ArmPL`` and ``-fveclib=SLEEF``. This gives Clang more opportunities
   to utilize these vector libraries. The behavior for all other vector function
   libraries remains unchanged.



More information about the cfe-commits mailing list