1 ========================
2 LLVM 9.0.0 Release Notes
3 ========================
9 These are in-progress notes for the upcoming LLVM 9 release.
10 Release notes for previous releases can be found on
11 `the Download Page <https://releases.llvm.org/download.html>`_.
17 This document contains the release notes for the LLVM Compiler Infrastructure,
18 release 9.0.0. Here we describe the status of LLVM, including major improvements
19 from the previous release, improvements in various subprojects of LLVM, and
20 some of the current users of the code. All LLVM releases may be downloaded
21 from the `LLVM releases web site <https://llvm.org/releases/>`_.
23 For more information about LLVM, including information about the latest
24 release, please check out the `main LLVM web site <https://llvm.org/>`_. If you
25 have questions or comments, the `LLVM Developer's Mailing List
26 <https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
29 Note that if you are reading this file from a Subversion checkout or the main
30 LLVM web page, this document applies to the *next* release, not the current
31 one. To see the release notes for a specific release, please see the `releases
32 page <https://llvm.org/releases/>`_.
34 Non-comprehensive list of changes in this release
35 =================================================
37 For small 1-3 sentence descriptions, just add an entry at the end of
38 this list. If your description won't fit comfortably in one bullet
39 point (e.g. maybe you would like to give an example of the
40 functionality, or simply have a lot to talk about), see the `NOTE` below
41 for adding a new subsection.
43 * The optimizer will now convert calls to ``memcmp`` into a calls to ``bcmp`` in
44 some circumstances. Users who are building freestanding code (not depending on
45 the platform's libc) without specifying ``-ffreestanding`` may need to either
46 pass ``-fno-builtin-bcmp``, or provide a ``bcmp`` function.
48 * Two new extension points, namely ``EP_FullLinkTimeOptimizationEarly`` and
49 ``EP_FullLinkTimeOptimizationLast`` are available for plugins to specialize
50 the legacy pass manager full LTO pipeline.
53 If you would like to document a larger change, then you can add a
54 subsection about it right here. You can copy the following boilerplate
55 and un-indent it (the indentation causes it to be inside this comment).
60 Makes programs 10x faster by doing Special New Thing.
62 Changes to the LLVM IR
63 ----------------------
65 * Added ``immarg`` parameter attribute. This indicates an intrinsic
66 parameter is required to be a simple constant. This annotation must
67 be accurate to avoid possible miscompiles.
69 * The 2-field form of global variables ``@llvm.global_ctors`` and
70 ``@llvm.global_dtors`` has been deleted. The third field of their element
71 type is now mandatory. Specify `i8* null` to migrate from the obsoleted
74 * The ``byval`` attribute can now take a type parameter:
75 ``byval(<ty>)``. If present it must be identical to the argument's
76 pointee type. In the next release we intend to make this parameter
77 mandatory in preparation for opaque pointer types.
79 Changes to building LLVM
80 ------------------------
82 * Building LLVM with Visual Studio now requires version 2017 or later.
85 Changes to the ARM Backend
86 --------------------------
88 During this release ...
91 Changes to the MIPS Target
92 --------------------------
94 During this release ...
97 Changes to the PowerPC Target
98 -----------------------------
100 During this release ...
102 Changes to the X86 Target
103 -------------------------
105 During this release ...
107 Changes to the AMDGPU Target
108 -----------------------------
110 During this release ...
112 Changes to the AVR Target
113 -----------------------------
115 During this release ...
117 Changes to the WebAssembly Target
118 ---------------------------------
120 During this release ...
123 Changes to the OCaml bindings
124 -----------------------------
132 Changes to the DAG infrastructure
133 ---------------------------------
138 * Backtraces are now color highlighting in the terminal.
140 * DWARF4 (debug_types) and DWARF5 (debug_info) type units are now supported.
142 * This release will be the last where ``lldb-mi`` is shipped as part of LLDB.
143 The tool will still be available in a `downstream repository on GitHub
144 <https://github.com/lldb-tools/lldb-mi>`_.
146 External Open Source Projects Using LLVM 9
147 ==========================================
152 Additional Information
153 ======================
155 A wide variety of additional information is available on the `LLVM web page
156 <https://llvm.org/>`_, in particular in the `documentation
157 <https://llvm.org/docs/>`_ section. The web page also contains versions of the
158 API documentation which is up-to-date with the Subversion version of the source
159 code. You can access versions of these documents specific to this release by
160 going into the ``llvm/docs/`` directory in the LLVM tree.
162 If you have any questions or comments about LLVM, please feel free to contact
163 us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_.