2016-07-18 20:02:23 +02:00
|
|
|
========================
|
|
|
|
LLVM 4.0.0 Release Notes
|
|
|
|
========================
|
2012-12-10 00:14:26 +01:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
.. warning::
|
2016-07-18 20:02:23 +02:00
|
|
|
These are in-progress notes for the upcoming LLVM 4.0.0 release. You may
|
2016-11-12 11:39:09 +01:00
|
|
|
prefer the `LLVM 3.9 Release Notes <http://llvm.org/releases/3.9.0/docs
|
2013-01-20 04:29:50 +01:00
|
|
|
/ReleaseNotes.html>`_.
|
2012-12-10 00:14:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
|
|
|
This document contains the release notes for the LLVM Compiler Infrastructure,
|
2016-07-18 20:02:23 +02:00
|
|
|
release 4.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
|
|
|
|
from the `LLVM releases web site <http://llvm.org/releases/>`_.
|
|
|
|
|
|
|
|
For more information about LLVM, including information about the latest
|
|
|
|
release, please check out the `main LLVM web site <http://llvm.org/>`_. If you
|
|
|
|
have questions or comments, the `LLVM Developer's Mailing List
|
2015-08-05 05:51:17 +02:00
|
|
|
<http://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
|
2012-12-10 00:14:26 +01: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
|
|
|
|
page <http://llvm.org/releases/>`_.
|
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
Non-comprehensive list of changes in this release
|
|
|
|
=================================================
|
2016-11-06 08:48:46 +01:00
|
|
|
* The C API functions LLVMAddFunctionAttr, LLVMGetFunctionAttr,
|
|
|
|
LLVMRemoveFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute,
|
|
|
|
LLVMGetAttribute, LLVMAddInstrAttribute and
|
|
|
|
LLVMRemoveInstrAttribute have been removed.
|
|
|
|
|
|
|
|
* The C API enum LLVMAttribute has been deleted.
|
2016-06-07 00:02:16 +02:00
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
.. 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
|
|
|
|
2016-10-17 09:37:11 +02:00
|
|
|
* The definition and uses of LLVM_ATRIBUTE_UNUSED_RESULT in the LLVM source
|
|
|
|
were replaced with LLVM_NODISCARD, which matches the C++17 [[nodiscard]]
|
|
|
|
semantics rather than gcc's __attribute__((warn_unused_result)).
|
|
|
|
|
2016-10-24 19:29:52 +02:00
|
|
|
* Minimum compiler version to build has been raised to GCC 4.8 and VS 2015.
|
|
|
|
|
2016-11-18 20:43:18 +01:00
|
|
|
* The Timer related APIs now expect a Name and Description. When upgrading code
|
|
|
|
the previously used names should become descriptions and a short name in the
|
|
|
|
style of a programming language identifier should be added.
|
|
|
|
|
2013-01-20 04:29:50 +01:00
|
|
|
* ... next change ...
|
2012-12-10 00:14:26 +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
|
|
|
|
2016-03-29 08:55:56 +02:00
|
|
|
Changes to the LLVM IR
|
|
|
|
----------------------
|
|
|
|
|
2014-03-18 11:16:15 +01:00
|
|
|
Changes to the ARM Backend
|
|
|
|
--------------------------
|
|
|
|
|
2014-08-22 23:57:38 +02:00
|
|
|
During this release ...
|
|
|
|
|
2014-03-18 11:16:15 +01:00
|
|
|
|
2014-07-23 14:59:26 +02:00
|
|
|
Changes to the MIPS Target
|
|
|
|
--------------------------
|
|
|
|
|
2015-01-14 19:07:30 +01:00
|
|
|
During this release ...
|
2015-01-11 11:34:52 +01:00
|
|
|
|
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
|
|
|
|
2016-07-18 20:02:23 +02: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
|
|
|
|
2016-07-18 20:02:23 +02:00
|
|
|
During this release ...
|
2015-12-21 03:37:23 +01:00
|
|
|
|
2016-01-26 05:29:15 +01:00
|
|
|
Changes to the AMDGPU Target
|
|
|
|
-----------------------------
|
|
|
|
|
2016-07-18 20:02:23 +02:00
|
|
|
During this release ...
|
2015-12-21 03:37:23 +01:00
|
|
|
|
2016-11-17 23:26:09 +01:00
|
|
|
Changes to the AVR Target
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
* The entire backend has been merged in-tree with all tests passing. All of
|
|
|
|
the instruction selection code and the machine code backend has landed
|
|
|
|
recently and is fully usable.
|
|
|
|
|
2015-01-13 10:48:02 +01:00
|
|
|
Changes to the OCaml bindings
|
|
|
|
-----------------------------
|
|
|
|
|
2016-11-12 04:38:30 +01:00
|
|
|
* The attribute API was completely overhauled, following the changes
|
|
|
|
to the C API.
|
2015-01-13 10:48:02 +01:00
|
|
|
|
2016-02-17 20:35:47 +01:00
|
|
|
|
2016-07-18 20:02:23 +02:00
|
|
|
External Open Source Projects Using LLVM 4.0.0
|
|
|
|
==============================================
|
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
|
|
|
|
<http://llvm.org/>`_, in particular in the `documentation
|
|
|
|
<http://llvm.org/docs/>`_ section. The web page also contains versions of the
|
|
|
|
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
|
|
|
|
us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
|