blob: 56e93889858a4afe42996ee893afc3b095bdd436 [file] [log] [blame]
Dmitri Gribenko38782b82012-12-09 23:14:26 +00001======================
Hans Wennborgbecb60f2015-01-09 00:21:26 +00002LLVM 3.6 Release Notes
Dmitri Gribenko38782b82012-12-09 23:14:26 +00003======================
4
5.. contents::
6 :local:
7
Sean Silva1eab30d2013-01-20 03:29:50 +00008.. warning::
Rafael Espindolabd334e22014-08-22 21:57:38 +00009 These are in-progress notes for the upcoming LLVM 3.6 release. You may
Nico Webercf914aa2014-09-04 15:26:10 +000010 prefer the `LLVM 3.5 Release Notes <http://llvm.org/releases/3.5.0/docs
Sean Silva1eab30d2013-01-20 03:29:50 +000011 /ReleaseNotes.html>`_.
Dmitri Gribenko38782b82012-12-09 23:14:26 +000012
Dmitri Gribenko38782b82012-12-09 23:14:26 +000013
14Introduction
15============
16
17This document contains the release notes for the LLVM Compiler Infrastructure,
Rafael Espindolabd334e22014-08-22 21:57:38 +000018release 3.6. Here we describe the status of LLVM, including major improvements
Dmitri Gribenko38782b82012-12-09 23:14:26 +000019from the previous release, improvements in various subprojects of LLVM, and
20some of the current users of the code. All LLVM releases may be downloaded
21from the `LLVM releases web site <http://llvm.org/releases/>`_.
22
23For more information about LLVM, including information about the latest
24release, please check out the `main LLVM web site <http://llvm.org/>`_. If you
25have questions or comments, the `LLVM Developer's Mailing List
26<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>`_ is a good place to send
27them.
28
29Note that if you are reading this file from a Subversion checkout or the main
30LLVM web page, this document applies to the *next* release, not the current
31one. To see the release notes for a specific release, please see the `releases
32page <http://llvm.org/releases/>`_.
33
Sean Silva1eab30d2013-01-20 03:29:50 +000034Non-comprehensive list of changes in this release
35=================================================
Dmitri Gribenko38782b82012-12-09 23:14:26 +000036
Sean Silva1eab30d2013-01-20 03:29:50 +000037.. NOTE
38 For small 1-3 sentence descriptions, just add an entry at the end of
39 this list. If your description won't fit comfortably in one bullet
40 point (e.g. maybe you would like to give an example of the
41 functionality, or simply have a lot to talk about), see the `NOTE` below
42 for adding a new subsection.
Dmitri Gribenko38782b82012-12-09 23:14:26 +000043
Rafael Espindola0e893f52014-09-02 19:49:39 +000044* Support for AuroraUX has been removed.
45
Peter Collingbourne10039c02014-09-18 21:28:49 +000046* Added support for a `native object file-based bitcode wrapper format
47 <BitCodeFormat.html#native-object-file>`_.
48
Sean Silva1eab30d2013-01-20 03:29:50 +000049* ... next change ...
Dmitri Gribenko38782b82012-12-09 23:14:26 +000050
Sean Silva1eab30d2013-01-20 03:29:50 +000051.. NOTE
52 If you would like to document a larger change, then you can add a
53 subsection about it right here. You can copy the following boilerplate
54 and un-indent it (the indentation causes it to be inside this comment).
Dmitri Gribenko38782b82012-12-09 23:14:26 +000055
Sean Silva1eab30d2013-01-20 03:29:50 +000056 Special New Feature
57 -------------------
Dmitri Gribenko38782b82012-12-09 23:14:26 +000058
Sean Silva1eab30d2013-01-20 03:29:50 +000059 Makes programs 10x faster by doing Special New Thing.
Dmitri Gribenko38782b82012-12-09 23:14:26 +000060
Peter Collingbourne51d2de72014-12-03 02:08:38 +000061Prefix data rework
62------------------
63
64The semantics of the ``prefix`` attribute have been changed. Users
65that want the previous ``prefix`` semantics should instead use
66``prologue``. To motivate this change, let's examine the primary
67usecases that these attributes aim to serve,
68
69 1. Code sanitization metadata (e.g. Clang's undefined behavior
70 sanitizer)
71
72 2. Function hot-patching: Enable the user to insert ``nop`` operations
73 at the beginning of the function which can later be safely replaced
74 with a call to some instrumentation facility.
75
76 3. Language runtime metadata: Allow a compiler to insert data for
77 use by the runtime during execution. GHC is one example of a
78 compiler that needs this functionality for its
79 tables-next-to-code functionality.
80
81Previously ``prefix`` served cases (1) and (2) quite well by allowing the user
82to introduce arbitrary data at the entrypoint but before the function
83body. Case (3), however, was poorly handled by this approach as it
84required that prefix data was valid executable code.
85
86In this release the concept of prefix data has been redefined to be
87data which occurs immediately before the function entrypoint (i.e. the
88symbol address). Since prefix data now occurs before the function
89entrypoint, there is no need for the data to be valid code.
90
91The previous notion of prefix data now goes under the name "prologue
92data" to emphasize its duality with the function epilogue.
93
94The intention here is to handle cases (1) and (2) with prologue data and
95case (3) with prefix data. See the language reference for further details
96on the semantics of these attributes.
97
98This refactoring arose out of discussions_ with Reid Kleckner in
99response to a proposal to introduce the notion of symbol offsets to
100enable handling of case (3).
101
102.. _discussions: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073235.html
103
104
Renato Golin7c9d0502014-03-18 10:16:15 +0000105Changes to the ARM Backend
106--------------------------
107
Rafael Espindolabd334e22014-08-22 21:57:38 +0000108 During this release ...
Renato Golin7c9d0502014-03-18 10:16:15 +0000109
Renato Golin7c9d0502014-03-18 10:16:15 +0000110
Daniel Sandersa4d18fc2014-07-23 12:59:26 +0000111Changes to the MIPS Target
112--------------------------
113
Rafael Espindolabd334e22014-08-22 21:57:38 +0000114During this release ...
Daniel Sandersa4d18fc2014-07-23 12:59:26 +0000115
Bill Schmidt40049892014-07-31 14:38:17 +0000116Changes to the PowerPC Target
Bill Schmidt08616c72014-07-31 15:20:30 +0000117-----------------------------
Bill Schmidt40049892014-07-31 14:38:17 +0000118
Rafael Espindolabd334e22014-08-22 21:57:38 +0000119During this release ...
Bill Schmidt40049892014-07-31 14:38:17 +0000120
Rafael Espindolabd334e22014-08-22 21:57:38 +0000121External Open Source Projects Using LLVM 3.6
Pekka Jaaskelainenb531a112013-05-03 07:37:04 +0000122============================================
123
124An exciting aspect of LLVM is that it is used as an enabling technology for
125a lot of other language and tools projects. This section lists some of the
Rafael Espindolabd334e22014-08-22 21:57:38 +0000126projects that have already been updated to work with LLVM 3.6.
127
128* A project
Kai Nackeec6e3922013-11-14 05:57:40 +0000129
130
Dmitri Gribenko38782b82012-12-09 23:14:26 +0000131Additional Information
132======================
133
134A wide variety of additional information is available on the `LLVM web page
135<http://llvm.org/>`_, in particular in the `documentation
136<http://llvm.org/docs/>`_ section. The web page also contains versions of the
137API documentation which is up-to-date with the Subversion version of the source
138code. You can access versions of these documents specific to this release by
139going into the ``llvm/docs/`` directory in the LLVM tree.
140
141If you have any questions or comments about LLVM, please feel free to contact
142us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
143