2019-07-18 13:51:05 +02:00
|
|
|
=========================
|
2021-01-27 04:37:08 +01:00
|
|
|
LLVM 13.0.0 Release Notes
|
2019-07-18 13:51:05 +02:00
|
|
|
=========================
|
2012-12-10 00:14:26 +01:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
.. warning::
|
2021-01-27 04:37:08 +01:00
|
|
|
These are in-progress notes for the upcoming LLVM 13 release.
|
2017-02-10 00:03:34 +01:00
|
|
|
Release notes for previous releases can be found on
|
2018-09-10 10:50:31 +02:00
|
|
|
`the Download Page <https://releases.llvm.org/download.html>`_.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
|
|
|
This document contains the release notes for the LLVM Compiler Infrastructure,
|
2021-01-27 04:37:08 +01:00
|
|
|
release 13.0.0. Here we describe the status of LLVM, including major improvements
|
2012-12-10 00:14:26 +01:00
|
|
|
from the previous release, improvements in various subprojects of LLVM, and
|
|
|
|
some of the current users of the code. All LLVM releases may be downloaded
|
2018-09-10 10:50:31 +02:00
|
|
|
from the `LLVM releases web site <https://llvm.org/releases/>`_.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
|
|
|
For more information about LLVM, including information about the latest
|
2018-09-10 10:50:31 +02:00
|
|
|
release, please check out the `main LLVM web site <https://llvm.org/>`_. If you
|
2012-12-10 00:14:26 +01:00
|
|
|
have questions or comments, the `LLVM Developer's Mailing List
|
2018-09-10 10:50:31 +02:00
|
|
|
<https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
|
2012-12-10 00:14:26 +01:00
|
|
|
them.
|
|
|
|
|
2020-01-15 10:02:56 +01:00
|
|
|
Note that if you are reading this file from a Git checkout or the main
|
2012-12-10 00:14:26 +01:00
|
|
|
LLVM web page, this document applies to the *next* release, not the current
|
|
|
|
one. To see the release notes for a specific release, please see the `releases
|
2018-09-10 10:50:31 +02:00
|
|
|
page <https://llvm.org/releases/>`_.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
Non-comprehensive list of changes in this release
|
|
|
|
=================================================
|
|
|
|
.. NOTE
|
|
|
|
For small 1-3 sentence descriptions, just add an entry at the end of
|
|
|
|
this list. If your description won't fit comfortably in one bullet
|
|
|
|
point (e.g. maybe you would like to give an example of the
|
|
|
|
functionality, or simply have a lot to talk about), see the `NOTE` below
|
|
|
|
for adding a new subsection.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
2019-11-08 19:05:37 +01:00
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
.. NOTE
|
|
|
|
If you would like to document a larger change, then you can add a
|
|
|
|
subsection about it right here. You can copy the following boilerplate
|
|
|
|
and un-indent it (the indentation causes it to be inside this comment).
|
2012-12-10 00:14:26 +01:00
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
Special New Feature
|
|
|
|
-------------------
|
2012-12-10 00:14:26 +01:00
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
Makes programs 10x faster by doing Special New Thing.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
2021-03-03 03:38:21 +01:00
|
|
|
* Windows Control-flow Enforcement Technology: the ``-ehcontguard`` option now
|
|
|
|
emits valid unwind entrypoints which are validated when the context is being
|
|
|
|
set during exception handling.
|
2019-12-25 03:12:15 +01:00
|
|
|
|
2021-09-06 13:51:47 +02:00
|
|
|
* Flang is now included in the binary packages released by LLVM.
|
|
|
|
|
2021-09-21 10:21:36 +02:00
|
|
|
* The debuginfo-test project has been renamed cross-project-tests and is now
|
|
|
|
intended for testing components from multiple projects, not just debug
|
|
|
|
information. The new "cross-project-tests" name replaces "debuginfo-test" in
|
|
|
|
LLVM_ENABLE_PROJECTS, and a new check-cross-project-tests target has been
|
|
|
|
added for running all tests in the project. The pre-existing check-debuginfo-
|
|
|
|
test target remains for running just the debug information tests.
|
|
|
|
(`D95339 <https://reviews.llvm.org/D95339>`_ and
|
|
|
|
`D96513 <https://reviews.llvm.org/D96513>`_)
|
|
|
|
|
2016-03-29 08:55:56 +02:00
|
|
|
Changes to the LLVM IR
|
|
|
|
----------------------
|
|
|
|
|
2021-03-29 14:42:23 +02:00
|
|
|
* The ``inalloca`` attribute now has a mandatory type field, similar
|
|
|
|
to ``byval`` and ``sret``.
|
2020-05-27 10:31:35 +02:00
|
|
|
|
2021-05-02 04:04:42 +02:00
|
|
|
* The opaque pointer type ``ptr`` has been introduced. It is still in the
|
|
|
|
process of being worked on and should not be used yet.
|
|
|
|
|
2021-09-01 20:53:53 +02:00
|
|
|
* Using the legacy pass manager for the optimization pipeline is deprecated and
|
|
|
|
will be removed after LLVM 14. In the meantime, only minimal effort will be
|
|
|
|
made to maintain the legacy pass manager for the optimization pipeline.
|
|
|
|
|
2019-07-09 12:10:48 +02:00
|
|
|
Changes to building LLVM
|
|
|
|
------------------------
|
|
|
|
|
2020-10-01 23:35:28 +02:00
|
|
|
* The build system now supports building multiple distributions, so that you can
|
|
|
|
e.g. have one distribution containing just tools and another for libraries (to
|
|
|
|
enable development). See :ref:`Multi-distribution configurations` for details.
|
|
|
|
|
2020-08-21 23:22:06 +02:00
|
|
|
Changes to TableGen
|
|
|
|
-------------------
|
|
|
|
|
2021-06-22 17:43:36 +02:00
|
|
|
Changes to the AArch64 Backend
|
2021-06-28 14:51:27 +02:00
|
|
|
------------------------------
|
2021-06-22 17:43:36 +02:00
|
|
|
|
2021-08-03 17:19:57 +02:00
|
|
|
* Introduced assembly support for Armv9-A's Realm Management Extension (RME)
|
|
|
|
and Scalable Matrix Extension (SME).
|
2021-06-22 17:43:36 +02:00
|
|
|
|
2021-08-16 11:26:49 +02:00
|
|
|
* Produce proper cross-section relative relocations on COFF
|
|
|
|
|
|
|
|
* Fixed the calling convention on Windows for variadic functions involving
|
|
|
|
floats in the fixed arguments
|
|
|
|
|
2014-03-18 11:16:15 +01:00
|
|
|
Changes to the ARM Backend
|
|
|
|
--------------------------
|
|
|
|
|
2021-08-16 11:26:49 +02:00
|
|
|
* Produce proper cross-section relative relocations on COFF
|
2014-08-22 23:57:38 +02:00
|
|
|
|
2014-07-23 14:59:26 +02:00
|
|
|
Changes to the MIPS Target
|
|
|
|
--------------------------
|
|
|
|
|
2020-01-15 10:02:56 +01:00
|
|
|
During this release ...
|
2015-01-11 11:34:52 +01:00
|
|
|
|
2021-05-13 15:25:04 +02:00
|
|
|
Changes to the Hexagon Target
|
2021-05-13 15:36:07 +02:00
|
|
|
-----------------------------
|
2021-05-13 15:25:04 +02:00
|
|
|
|
|
|
|
* The Hexagon target now supports V68/HVX ISA.
|
2014-07-23 14:59:26 +02:00
|
|
|
|
2014-07-31 16:38:17 +02:00
|
|
|
Changes to the PowerPC Target
|
2014-07-31 17:20:30 +02:00
|
|
|
-----------------------------
|
2014-07-31 16:38:17 +02:00
|
|
|
|
2020-01-15 10:02:56 +01:00
|
|
|
During this release ...
|
2014-07-31 16:38:17 +02:00
|
|
|
|
2015-12-21 03:37:23 +01:00
|
|
|
Changes to the X86 Target
|
2016-03-29 08:55:56 +02:00
|
|
|
-------------------------
|
2015-12-21 03:37:23 +01:00
|
|
|
|
2020-01-15 10:02:56 +01:00
|
|
|
During this release ...
|
|
|
|
|
2016-01-26 05:29:15 +01:00
|
|
|
Changes to the AMDGPU Target
|
|
|
|
-----------------------------
|
|
|
|
|
2020-07-15 11:40:53 +02:00
|
|
|
During this release ...
|
2019-11-01 07:32:31 +01:00
|
|
|
|
2016-11-17 23:26:09 +01:00
|
|
|
Changes to the AVR Target
|
|
|
|
-----------------------------
|
|
|
|
|
2020-07-15 11:40:53 +02:00
|
|
|
During this release ...
|
2016-11-17 23:26:09 +01:00
|
|
|
|
2019-01-14 19:20:30 +01:00
|
|
|
Changes to the WebAssembly Target
|
|
|
|
---------------------------------
|
|
|
|
|
2020-07-15 11:40:53 +02:00
|
|
|
During this release ...
|
2019-01-14 19:20:30 +01:00
|
|
|
|
2015-01-13 10:48:02 +01:00
|
|
|
Changes to the OCaml bindings
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
|
2017-06-30 03:17:45 +02:00
|
|
|
Changes to the C API
|
|
|
|
--------------------
|
2019-12-03 04:59:54 +01:00
|
|
|
|
2021-07-27 09:31:57 +02:00
|
|
|
* The C API functions ``LLVMGetAlignment`` and ``LLVMSetAlignment`` now allow
|
|
|
|
changing alignment on atomicrmw and cmpxchg instructions
|
|
|
|
|
|
|
|
* A new entry ``LLVMDIArgListMetadataKind`` was added to the
|
|
|
|
``LLVMMetadataKind`` enum, representing DIArgLists
|
|
|
|
(`D88175 <https://reviews.llvm.org/D88175>`_)
|
|
|
|
|
|
|
|
* Type attributes have been added to LLVM-C, introducing
|
|
|
|
LLVMCreateTypeAttribute, LLVMGetTypeAttributeValue and LLVMIsTypeAttribute.
|
|
|
|
(`D977763' <https://reviews.llvm.org/D97763>`_)
|
|
|
|
|
|
|
|
* The ``LTO_API_VERSION`` was bumped to 28, introducing a new function
|
|
|
|
``lto_set_debug_options`` for parsing LTO debug options
|
|
|
|
(`D92611 <https://reviews.llvm.org/D92611>`_)
|
|
|
|
|
|
|
|
* ``LLVMJITTargetSymbolFlags`` was renamed to ``LLVMJITSymbolTargetFlags``
|
|
|
|
(`rG8d718a0bff73af066675a6258c01307937c33cf9
|
|
|
|
<https://reviews.llvm.org/rG8d718a0bff73af066675a6258c01307937c33cf9>`_)
|
|
|
|
|
|
|
|
* The C API received support for creating custom ORCv2 MaterializationUnits and
|
|
|
|
APIs to retrieve an LLJIT instance's linking layers. An ABI breaking change
|
|
|
|
for ``LLVMOrcAbsoluteSymbols`` was introduced to make it consistent with
|
|
|
|
``LLVMOrcCreateCustomMaterializationUnit``.
|
|
|
|
(`rGc8fc5e3ba942057d6c4cdcd1faeae69a28e7b671
|
|
|
|
<https://reviews.llvm.org/rGc8fc5e3ba942057d6c4cdcd1faeae69a28e7b671>`_)
|
|
|
|
|
|
|
|
* The C API received support for adding ORCv2 object buffers directly to an object
|
|
|
|
layer. (`rG7b73cd684a8d5fb44d34064200f10e2723085c33
|
|
|
|
<https://reviews.llvm.org/rG7b73cd684a8d5fb44d34064200f10e2723085c33>`_)
|
|
|
|
|
|
|
|
* A breaking change to ``LLVMGetInlineAsm`` was introduced, adding a ninth
|
|
|
|
argument ``LLVMBool CanThrow`` (`D95745 <https://reviews.llvm.org/D95745>`_)
|
|
|
|
|
|
|
|
* The C API received support for calling into the new pass manager.
|
|
|
|
(`D102136 <https://reviews.llvm.org/D102136>`_)
|
|
|
|
|
2021-06-14 14:52:29 +02:00
|
|
|
* The C API function ``LLVMIntrinsicCopyOverloadedName`` has been deprecated.
|
|
|
|
Please migrate to ``LLVMIntrinsicCopyOverloadedName2`` which takes an extra
|
|
|
|
module argument and which also handles unnamed types.
|
2021-07-27 09:31:57 +02:00
|
|
|
(`D99173 <https://reviews.llvm.org/D99173>`_)
|
|
|
|
|
|
|
|
* The C API received support for dumping objects from ORCv2
|
|
|
|
(`rGcec8e69f01c3374cb38c6683058381b96fab8f89
|
|
|
|
<https://reviews.llvm.org/rGcec8e69f01c3374cb38c6683058381b96fab8f89>`_)
|
|
|
|
|
|
|
|
* A breaking change to ``LLVMOrcObjectTransformLayerTransformFunction`` was
|
|
|
|
introduced, changing the order of the function pointer's arguments.
|
|
|
|
(`rG8962c68ad007a525f9daa987c99eda57e0d0069a
|
|
|
|
<https://reviews.llvm.org/rG8962c68ad007a525f9daa987c99eda57e0d0069a>`_)
|
|
|
|
|
|
|
|
* The C API received support for accessing utilities from the LLJIT
|
|
|
|
``IRTransformLayer`` and ``ThreadSafeModule`` classes. (`D103855
|
|
|
|
<https://reviews.llvm.org/D103855>`_)
|
|
|
|
|
|
|
|
* The C API received support for creating lazy-export MaterializationUnits
|
|
|
|
(`D104672 <https://reviews.llvm.org/D104672>`_)
|
|
|
|
|
|
|
|
* The C API function ``LLVMPassBuilderOptionsSetCoroutines`` was removed because
|
|
|
|
couroutine passes have been enabled by default. (`D105877
|
|
|
|
<https://reviews.llvm.org/D105877>`_)
|
|
|
|
|
|
|
|
* ``comdat noduplicates`` was renamed to ``comdat nodeduplicate`` and as a
|
|
|
|
result, ``LLVMNoDuplicatesComdatSelectionKind`` was renamed to
|
|
|
|
``LLVMNoDeduplicateComdatSelectionKind``. (`D106319
|
|
|
|
<https://reviews.llvm.org/D106319>`_)
|
2019-12-03 04:59:54 +01:00
|
|
|
|
|
|
|
Changes to the Go bindings
|
|
|
|
--------------------------
|
2017-06-30 03:17:45 +02:00
|
|
|
|
2017-06-30 09:09:08 +02:00
|
|
|
|
2021-03-09 21:04:03 +01:00
|
|
|
Changes to the FastISel infrastructure
|
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
* FastISel no longer tracks killed registers, and instead leaves this to the
|
|
|
|
register allocator. This means that ``hasTrivialKill()`` is removed, as well
|
|
|
|
as the ``OpNIsKill`` parameters to the ``fastEmit_*()`` family of functions.
|
|
|
|
|
Set ADDE/ADDC/SUBE/SUBC to expand by default
Summary:
They've been deprecated in favor of UADDO/ADDCARRY or USUBO/SUBCARRY for a while.
Target that uses these opcodes are changed in order to ensure their behavior doesn't change.
Reviewers: efriedma, craig.topper, dblaikie, bkramer
Subscribers: jholewinski, arsenm, jyknight, sdardis, nemanjai, nhaehnle, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, jordy.potman.lists, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, mgrang, atanasyan, llvm-commits
Differential Revision: https://reviews.llvm.org/D47422
llvm-svn: 333748
2018-06-01 15:21:33 +02:00
|
|
|
Changes to the DAG infrastructure
|
|
|
|
---------------------------------
|
2018-06-04 20:36:22 +02:00
|
|
|
|
2020-04-07 12:05:22 +02:00
|
|
|
|
|
|
|
Changes to the Debug Info
|
|
|
|
---------------------------------
|
|
|
|
|
2020-07-15 11:40:53 +02:00
|
|
|
During this release ...
|
2020-04-07 12:05:22 +02:00
|
|
|
|
2020-04-10 10:33:33 +02:00
|
|
|
Changes to the LLVM tools
|
|
|
|
---------------------------------
|
|
|
|
|
2021-02-15 20:17:32 +01:00
|
|
|
* The options ``--build-id-link-{dir,input,output}`` have been deleted.
|
|
|
|
(`D96310 <https://reviews.llvm.org/D96310>`_)
|
|
|
|
|
2020-12-29 17:49:09 +01:00
|
|
|
* Support for in-order processors has been added to ``llvm-mca``.
|
|
|
|
(`D94928 <https://reviews.llvm.org/D94928>`_)
|
|
|
|
|
2021-05-05 09:20:41 +02:00
|
|
|
* llvm-objdump supports ``-M {att,intel}`` now.
|
|
|
|
``--x86-asm-syntax`` is a deprecated internal option which will be removed in LLVM 14.0.0.
|
|
|
|
(`D101695 <https://reviews.llvm.org/D101695>`_)
|
|
|
|
|
2021-06-29 20:56:26 +02:00
|
|
|
* The llvm-readobj short aliases ``-s`` (previously ``--sections``) and ``-t``
|
|
|
|
(previously ``--syms``) have been changed to ``--syms`` and
|
|
|
|
``--section-details`` respectively, to match llvm-readelf.
|
|
|
|
(`D105055 <https://reviews.llvm.org/D105055>`_)
|
|
|
|
|
2021-07-07 22:34:33 +02:00
|
|
|
* The llvm-nm short aliases ``-M`` (``--print-armap``), ``-U``
|
|
|
|
(``--defined-only``), and ``-W`` (``--no-weak``) are now deprecated.
|
|
|
|
Use the long form versions instead.
|
|
|
|
The alias ``--just-symbol-name`` is now deprecated in favor of
|
|
|
|
``--format=just-symbols`` and ``-j``.
|
|
|
|
(`D105330 <https://reviews.llvm.org/D105330>`_)
|
|
|
|
|
2021-07-25 23:58:43 +02:00
|
|
|
* In lli the default JIT engine switched from MCJIT (``-jit-kind=mcjit``) to ORC (``-jit-kind=orc``).
|
|
|
|
(`D98931 <https://reviews.llvm.org/D98931>`_)
|
|
|
|
|
2021-08-16 11:26:49 +02:00
|
|
|
* llvm-rc got support for invoking Clang to preprocess its input.
|
|
|
|
(`D100755 <https://reviews.llvm.org/D100755>`_)
|
|
|
|
|
|
|
|
* llvm-rc got a GNU windres compatible frontend, llvm-windres.
|
|
|
|
(`D100756 <https://reviews.llvm.org/D100756>`_)
|
|
|
|
|
|
|
|
* llvm-ml has improved compatibility with MS ml.exe, managing to assemble
|
|
|
|
more asm files.
|
|
|
|
|
2019-07-05 19:58:30 +02:00
|
|
|
Changes to LLDB
|
2020-07-16 19:07:12 +02:00
|
|
|
---------------------------------
|
2019-07-05 19:58:30 +02:00
|
|
|
|
2021-08-03 17:18:05 +02:00
|
|
|
* LLDB executable is now included in pre-built LLVM binaries.
|
|
|
|
|
|
|
|
* LLDB now includes full featured support for AArch64 SVE register access.
|
|
|
|
|
|
|
|
* LLDB now supports AArch64 Pointer Authentication, allowing stack unwind with signed return address.
|
|
|
|
|
2021-08-03 14:25:09 +02:00
|
|
|
* LLDB now supports debugging programs on AArch64 Linux that use memory tagging (MTE).
|
|
|
|
* Added ``memory tag read`` and ``memory tag write`` commands.
|
|
|
|
* The ``memory region`` command will note when a region has memory tagging enabled.
|
|
|
|
* Synchronous and asynchronous tag faults are recognised.
|
|
|
|
* Synchronous tag faults have memory tag annotations in addition to the usual fault address.
|
|
|
|
|
2020-08-14 23:05:57 +02:00
|
|
|
Changes to Sanitizers
|
|
|
|
---------------------
|
|
|
|
|
2021-01-27 04:37:08 +01:00
|
|
|
External Open Source Projects Using LLVM 13
|
2019-07-18 13:51:05 +02:00
|
|
|
===========================================
|
2015-01-13 10:48:02 +01:00
|
|
|
|
2016-07-18 20:02:23 +02:00
|
|
|
* A project...
|
2013-11-14 06:57:40 +01:00
|
|
|
|
2012-12-10 00:14:26 +01:00
|
|
|
Additional Information
|
|
|
|
======================
|
|
|
|
|
|
|
|
A wide variety of additional information is available on the `LLVM web page
|
2018-09-10 10:50:31 +02:00
|
|
|
<https://llvm.org/>`_, in particular in the `documentation
|
|
|
|
<https://llvm.org/docs/>`_ section. The web page also contains versions of the
|
2020-01-15 10:02:56 +01:00
|
|
|
API documentation which is up-to-date with the Git version of the source
|
2012-12-10 00:14:26 +01:00
|
|
|
code. You can access versions of these documents specific to this release by
|
|
|
|
going into the ``llvm/docs/`` directory in the LLVM tree.
|
|
|
|
|
|
|
|
If you have any questions or comments about LLVM, please feel free to contact
|
2018-09-10 10:50:31 +02:00
|
|
|
us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_.
|