Skip to content

Commit 59ce65f

Browse files
ilinpvjroelofs
authored andcommitted
[AArch64] Function multi-versioning release notes added. NFC.
Differential Revision: https://reviews.llvm.org/D142265
1 parent eb6dddf commit 59ce65f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ C++ Language Changes
9696
disabled with ``-fno-assume-unique-vtables``. This optimization is not yet
9797
implemented for the MS C++ ABI.
9898

99+
Attribute Changes in Clang
100+
--------------------------
101+
- Introduced new attribute ``__attribute__((target_version("cpu_features")))``
102+
and expanded the functionality of the existing attribute
103+
``__attribute__((target_clones("cpu_features1","cpu_features2",...)))`` to
104+
support Function Multi Versioning on AArch64 target. It detects at runtime
105+
which function versions are supported by CPU and calls the one with highest
106+
priority. Refer to `clang attributes
107+
<https://clang.llvm.org/docs/AttributeReference.html#target-version>`_ for
108+
more details.
109+
99110
C++20 Feature Support
100111
^^^^^^^^^^^^^^^^^^^^^
101112
- Implemented the rule introduced by `CA104 <https://wg21.link/P2103R0>`_ for comparison of

llvm/docs/ReleaseNotes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ Changes to the AArch64 Backend
124124
included in a higher level than what is specified on the command line,
125125
or for disabling unwanted extensions if setting it to a lower level.
126126
This fixes `PR32873 <https://github.com/llvm/llvm-project/issues/32220>`.
127+
* Implemented `Function Multi Versioning
128+
<https://arm-software.github.io/acle/main/acle.html#function-multi-versioning>`_
129+
in accordance with Arm C Language Extensions specification. Currently in Beta
130+
state.
127131

128132
Changes to the AMDGPU Backend
129133
-----------------------------

0 commit comments

Comments
 (0)