[clang] 5474d7d - [AArch64] Function multi-versioning release notes added. NFC.
Pavel Iliin via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 10:10:38 PST 2023
Author: Pavel Iliin
Date: 2023-01-23T18:08:07Z
New Revision: 5474d7d932710c260f03ce6c6387ec9d82bd10e2
URL: https://github.com/llvm/llvm-project/commit/5474d7d932710c260f03ce6c6387ec9d82bd10e2
DIFF: https://github.com/llvm/llvm-project/commit/5474d7d932710c260f03ce6c6387ec9d82bd10e2.diff
LOG: [AArch64] Function multi-versioning release notes added. NFC.
Differential Revision: https://reviews.llvm.org/D141606
Added:
Modified:
clang/docs/ReleaseNotes.rst
llvm/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e996858c6830b..080a400726057 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -614,6 +614,15 @@ Attribute Changes in Clang
memory placement. It emits a warning if something in the code provably prevents
an instance from a read-only memory placement.
+- Introduced new attribute ``__attribute__((target_version("cpu_features")))``
+ and expanded the functionality of the existing attribute
+ ``__attribute__((target_clones("cpu_features1","cpu_features2",...)))`` to
+ support Function Multi Versioning on AArch64 target. It detects at runtime
+ which function versions are supported by CPU and calls the one with highest
+ priority. Refer to `clang attributes
+ <https://clang.llvm.org/docs/AttributeReference.html#target-version>`_ for
+ more details.
+
Windows Support
---------------
- For the MinGW driver, added the options ``-mguard=none``, ``-mguard=cf`` and
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index fbacfefe467cb..53c947dc7cef1 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -133,6 +133,10 @@ Changes to the AArch64 Backend
* Added support for the Neoverse V2 CPU.
* Added support for assembly for RME MEC (Memory Encryption Contexts).
* Added codegen support for the Armv8.3 Complex Number extension.
+* Implemented `Function Multi Versioning
+ <https://arm-software.github.io/acle/main/acle.html#function-multi-versioning>`_
+ in accordance with Arm C Language Extensions specification. Currently in Beta
+ state.
Changes to the AMDGPU Backend
-----------------------------
More information about the cfe-commits
mailing list