2016-07-18 18:02:23 +00:00
|
|
|
========================
|
2019-01-16 10:57:02 +00:00
|
|
|
LLVM 9.0.0 Release Notes
|
2016-07-18 18:02:23 +00:00
|
|
|
========================
|
2012-12-09 23:14:26 +00:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
2013-01-20 03:29:50 +00:00
|
|
|
.. warning::
|
2019-01-16 10:57:02 +00:00
|
|
|
These are in-progress notes for the upcoming LLVM 9 release.
|
2017-02-09 23:03:34 +00:00
|
|
|
Release notes for previous releases can be found on
|
2018-09-10 08:50:31 +00:00
|
|
|
`the Download Page <https://releases.llvm.org/download.html>`_.
|
2012-12-09 23:14:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
|
|
|
This document contains the release notes for the LLVM Compiler Infrastructure,
|
2019-01-16 10:57:02 +00:00
|
|
|
release 9.0.0. Here we describe the status of LLVM, including major improvements
|
2012-12-09 23:14:26 +00: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 08:50:31 +00:00
|
|
|
from the `LLVM releases web site <https://llvm.org/releases/>`_.
|
2012-12-09 23:14:26 +00:00
|
|
|
|
|
|
|
For more information about LLVM, including information about the latest
|
2018-09-10 08:50:31 +00:00
|
|
|
release, please check out the `main LLVM web site <https://llvm.org/>`_. If you
|
2012-12-09 23:14:26 +00:00
|
|
|
have questions or comments, the `LLVM Developer's Mailing List
|
2018-09-10 08:50:31 +00:00
|
|
|
<https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
|
2012-12-09 23:14:26 +00:00
|
|
|
them.
|
|
|
|
|
|
|
|
Note that if you are reading this file from a Subversion checkout or the main
|
|
|
|
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 08:50:31 +00:00
|
|
|
page <https://llvm.org/releases/>`_.
|
2012-12-09 23:14:26 +00:00
|
|
|
|
2013-01-20 03:29:50 +00: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-09 23:14:26 +00:00
|
|
|
|
2019-04-23 13:46:18 +00:00
|
|
|
* The optimizer will now convert calls to ``memcmp`` into a calls to ``bcmp`` in
|
|
|
|
some circumstances. Users who are building freestanding code (not depending on
|
|
|
|
the platform's libc) without specifying ``-ffreestanding`` may need to either
|
|
|
|
pass ``-fno-builtin-bcmp``, or provide a ``bcmp`` function.
|
[SelectionDAG] Allow the user to specify a memeq function.
Summary:
Right now, when we encounter a string equality check,
e.g. `if (memcmp(a, b, s) == 0)`, we try to expand to a comparison if `s` is a
small compile-time constant, and fall back on calling `memcmp()` else.
This is sub-optimal because memcmp has to compute much more than
equality.
This patch replaces `memcmp(a, b, s) == 0` by `bcmp(a, b, s) == 0` on platforms
that support `bcmp`.
`bcmp` can be made much more efficient than `memcmp` because equality
compare is trivially parallel while lexicographic ordering has a chain
dependency.
Subscribers: fedor.sergeev, jyknight, ckennelly, gchatelet, llvm-commits
Differential Revision: https://reviews.llvm.org/D56593
llvm-svn: 355672
2019-03-08 09:07:45 +00:00
|
|
|
|
2013-01-20 03:29:50 +00: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-09 23:14:26 +00:00
|
|
|
|
2013-01-20 03:29:50 +00:00
|
|
|
Special New Feature
|
|
|
|
-------------------
|
2012-12-09 23:14:26 +00:00
|
|
|
|
2013-01-20 03:29:50 +00:00
|
|
|
Makes programs 10x faster by doing Special New Thing.
|
2012-12-09 23:14:26 +00:00
|
|
|
|
2016-03-29 06:55:56 +00:00
|
|
|
Changes to the LLVM IR
|
|
|
|
----------------------
|
|
|
|
|
2019-03-12 21:02:54 +00:00
|
|
|
* Added ``immarg`` parameter attribute. This indicates an intrinsic
|
|
|
|
parameter is required to be a simple constant. This annotation must
|
|
|
|
be accurate to avoid possible miscompiles.
|
|
|
|
|
2019-05-15 02:35:32 +00:00
|
|
|
* The 2-field form of global variables ``@llvm.global_ctors`` and
|
|
|
|
``@llvm.global_dtors`` has been deleted. The third field of their element
|
|
|
|
type is now mandatory. Specify `i8* null` to migrate from the obsoleted
|
|
|
|
2-field form.
|
2018-05-18 23:53:46 +00:00
|
|
|
|
2014-03-18 10:16:15 +00:00
|
|
|
Changes to the ARM Backend
|
|
|
|
--------------------------
|
|
|
|
|
2014-08-22 21:57:38 +00:00
|
|
|
During this release ...
|
|
|
|
|
2014-03-18 10:16:15 +00:00
|
|
|
|
2014-07-23 12:59:26 +00:00
|
|
|
Changes to the MIPS Target
|
|
|
|
--------------------------
|
|
|
|
|
2015-01-14 18:07:30 +00:00
|
|
|
During this release ...
|
2015-01-11 10:34:52 +00:00
|
|
|
|
2014-07-23 12:59:26 +00:00
|
|
|
|
2014-07-31 14:38:17 +00:00
|
|
|
Changes to the PowerPC Target
|
2014-07-31 15:20:30 +00:00
|
|
|
-----------------------------
|
2014-07-31 14:38:17 +00:00
|
|
|
|
2016-07-18 18:02:23 +00:00
|
|
|
During this release ...
|
2014-07-31 14:38:17 +00:00
|
|
|
|
2015-12-21 02:37:23 +00:00
|
|
|
Changes to the X86 Target
|
2016-03-29 06:55:56 +00:00
|
|
|
-------------------------
|
2015-12-21 02:37:23 +00:00
|
|
|
|
2019-01-16 10:57:02 +00:00
|
|
|
During this release ...
|
2015-12-21 02:37:23 +00:00
|
|
|
|
2016-01-26 04:29:15 +00:00
|
|
|
Changes to the AMDGPU Target
|
|
|
|
-----------------------------
|
|
|
|
|
2016-07-18 18:02:23 +00:00
|
|
|
During this release ...
|
2015-12-21 02:37:23 +00:00
|
|
|
|
2016-11-17 22:26:09 +00:00
|
|
|
Changes to the AVR Target
|
|
|
|
-----------------------------
|
|
|
|
|
2017-01-12 21:50:22 +00:00
|
|
|
During this release ...
|
2016-11-17 22:26:09 +00:00
|
|
|
|
2019-01-14 18:20:30 +00:00
|
|
|
Changes to the WebAssembly Target
|
|
|
|
---------------------------------
|
|
|
|
|
2019-01-16 10:57:02 +00:00
|
|
|
During this release ...
|
2019-01-15 17:54:42 +00:00
|
|
|
|
2019-01-14 18:20:30 +00:00
|
|
|
|
2015-01-13 09:48:02 +00:00
|
|
|
Changes to the OCaml bindings
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
|
2016-02-17 19:35:47 +00:00
|
|
|
|
2017-06-30 01:17:45 +00:00
|
|
|
Changes to the C API
|
|
|
|
--------------------
|
|
|
|
|
2017-06-30 07:09:08 +00:00
|
|
|
|
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 13:21:33 +00:00
|
|
|
Changes to the DAG infrastructure
|
|
|
|
---------------------------------
|
2018-06-04 18:36:22 +00:00
|
|
|
|
2019-01-16 10:57:02 +00:00
|
|
|
External Open Source Projects Using LLVM 9
|
2017-01-12 21:50:22 +00:00
|
|
|
==========================================
|
2015-01-13 09:48:02 +00:00
|
|
|
|
2016-07-18 18:02:23 +00:00
|
|
|
* A project...
|
2013-11-14 05:57:40 +00:00
|
|
|
|
|
|
|
|
2012-12-09 23:14:26 +00:00
|
|
|
Additional Information
|
|
|
|
======================
|
|
|
|
|
|
|
|
A wide variety of additional information is available on the `LLVM web page
|
2018-09-10 08:50:31 +00:00
|
|
|
<https://llvm.org/>`_, in particular in the `documentation
|
|
|
|
<https://llvm.org/docs/>`_ section. The web page also contains versions of the
|
2012-12-09 23:14:26 +00:00
|
|
|
API documentation which is up-to-date with the Subversion version of the source
|
|
|
|
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 08:50:31 +00:00
|
|
|
us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_.
|