aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorMaryam Moghadas <m.moghadas@gmail.com>2024-02-16 01:01:26 -0500
committerGitHub <noreply@github.com>2024-02-15 22:01:26 -0800
commite3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6 (patch)
treed84476e5ae01bde37dbab11b9757485c6de2077c /clang
parent8b7b3fbe29051f5456334a9c6990e053fd3e59dc (diff)
downloadllvm-e3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6.zip
llvm-e3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6.tar.gz
llvm-e3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6.tar.bz2
[PowerPC] Update V18.1.0 release notes (#81631)
Adding PowerPC updates for clang and llvm into the V18.1.0 release notes. --------- Co-authored-by: Maryam Moghadas <maryammo@ca.ibm.com>
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/ReleaseNotes.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 95d4495..22eceea 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -304,6 +304,10 @@ Non-comprehensive list of changes in this release
* The version of Unicode used by Clang (primarily to parse identifiers) has been updated to 15.1.
+* Clang now defines macro ``__LLVM_INSTR_PROFILE_GENERATE`` when compiling with
+ PGO instrumentation profile generation, and ``__LLVM_INSTR_PROFILE_USE`` when
+ compiling with PGO profile use.
+
New Compiler Flags
------------------
@@ -344,6 +348,8 @@ New Compiler Flags
attribute the replaceable global new and delete operators behave normally
(like other functions) with respect to visibility attributes, pragmas and
options (e.g ``--fvisibility=``).
+* Full register names can be used when printing assembly via ``-mregnames``.
+ This option now matches the one used by GCC.
Deprecated Compiler Flags
-------------------------
@@ -363,6 +369,7 @@ Modified Compiler Flags
* ``-fvisibility-global-new-delete-hidden`` is now a deprecated spelling of
``-fvisibility-global-new-delete=force-hidden`` (``-fvisibility-global-new-delete=``
is new in this release).
+* ``-fprofile-update`` is enabled for ``-fprofile-generate``.
Removed Compiler Flags
-------------------------
@@ -860,6 +867,9 @@ Bug Fixes in This Version
Fixes (`#78290 <https://github.com/llvm/llvm-project/issues/78290>`_)
- Fixed assertion failure with deleted overloaded unary operators.
Fixes (`#78314 <https://github.com/llvm/llvm-project/issues/78314>`_)
+- The XCOFF object file format does not support aliases to symbols having common
+ linkage. Clang now diagnoses the use of an alias for a common symbol when
+ compiling for AIX.
- Clang now doesn't produce false-positive warning `-Wconstant-logical-operand`
for logical operators in C23.
@@ -1261,6 +1271,16 @@ CUDA Support
- Clang now supports CUDA SDK up to 12.3
- Added support for sm_90a
+PowerPC Support
+^^^^^^^^^^^^^^^
+
+- Added ``nmmintrin.h`` to intrinsics headers.
+- Added ``__builtin_ppc_fence`` as barrier of code motion, and
+ ``__builtin_ppc_mffsl`` for corresponding instruction.
+- Supported ``__attribute__((target("tune=cpu")))``.
+- Emit ``float-abi`` module flag on 64-bit ELFv2 PowerPC targets if
+ ``long double`` type is used in current module.
+
AIX Support
^^^^^^^^^^^
@@ -1269,6 +1289,10 @@ AIX Support
base is encoded as an immediate operand.
This access sequence is not used for TLS variables larger than 32KB, and is
currently only supported on 64-bit mode.
+- Inline assembler supports VSR register in pure digits.
+- Enabled ThinLTO support. Requires AIX 7.2 TL5 SP7 or newer, or AIX 7.3 TL2
+ or newer. Similar to the LTO support on AIX, ThinLTO is implemented with
+ the libLTO.so plugin.
WebAssembly Support
^^^^^^^^^^^^^^^^^^^
@@ -1332,6 +1356,8 @@ libclang
- Exposed arguments of ``clang::annotate``.
- ``clang::getCursorKindForDecl`` now recognizes linkage specifications such as
``extern "C"`` and reports them as ``CXCursor_LinkageSpec``.
+- Changed the libclang library on AIX to export only the necessary symbols to
+ prevent issues of resolving to the wrong duplicate symbol.
Static Analyzer
---------------