Skip to content

Commit

Permalink
ReleaseNotes: add some clang notes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Feb 14, 2022
1 parent 2f23d4b commit 24bf96c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -85,6 +85,8 @@ New Compiler Flags
allow silencing warnings about unused arguments for only a subset of
the command line arguments, keeping potential warnings for other arguments
outside of such a region.
- ``-falign-loops=N`` (N is a power of 2) is now supported for non-LTO cases.
(`D106701 <https://reviews.llvm.org/D106701>`_)

Deprecated Compiler Flags
-------------------------
Expand Down Expand Up @@ -116,9 +118,14 @@ Modified Compiler Flags
- Armv9.1-A (``armv9.1-a``).
- Armv9.2-A (``armv9.2-a``).

- ``-r`` now implies ``-nostdlib`` for many toolchains, matching GCC.
(`D116843 <https://reviews.llvm.org/D116843>`_)

Removed Compiler Flags
-------------------------

- The legacy ``-gz=zlib-gnu`` and ``-Wa,--compress-debug-sections=zlib-gnu``
have been removed.
- ``-fno-experimental-new-pass-manager`` has been removed.
``-flegacy-pass-manager`` can be used as a makeshift,
Using the legacy pass manager for the optimization pipeline was deprecated in
Expand Down

0 comments on commit 24bf96c

Please sign in to comment.