OSDN Git Service

Change eliminateCallFramePseudoInstr() to return an iterator
[android-x86/external-llvm.git] / docs / ReleaseNotes.rst
1 ======================
2 LLVM 3.9 Release Notes
3 ======================
4
5 .. contents::
6     :local:
7
8 .. warning::
9    These are in-progress notes for the upcoming LLVM 3.9 release.  You may
10    prefer the `LLVM 3.8 Release Notes <http://llvm.org/releases/3.8.0/docs
11    /ReleaseNotes.html>`_.
12
13
14 Introduction
15 ============
16
17 This document contains the release notes for the LLVM Compiler Infrastructure,
18 release 3.9.  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 <http://llvm.org/releases/>`_.
22
23 For more information about LLVM, including information about the latest
24 release, please check out the `main LLVM web site <http://llvm.org/>`_.  If you
25 have questions or comments, the `LLVM Developer's Mailing List
26 <http://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
27 them.
28
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 <http://llvm.org/releases/>`_.
33
34 Non-comprehensive list of changes in this release
35 =================================================
36 * The LLVMContext gains a new runtime check (see
37   LLVMContext::discardValueNames()) that can be set to discard Value names
38   (other than GlobalValue). This is intended to be used in release builds by
39   clients that are interested in saving CPU/memory as much as possible.
40
41 * .. note about autoconf build having been removed.
42
43 * .. note about C API functions LLVMParseBitcode,
44    LLVMParseBitcodeInContext, LLVMGetBitcodeModuleInContext and
45    LLVMGetBitcodeModule having been removed. LLVMGetTargetMachineData has been
46    removed (use LLVMGetDataLayout instead).
47
48 * The C API function LLVMLinkModules has been removed.
49
50 * The C API function LLVMAddTargetData has been removed.
51
52 * The C API function LLVMGetDataLayout is deprecated
53   in favor of LLVMGetDataLayoutStr.
54
55 * ``TargetFrameLowering::eliminateCallFramePseudoInstr`` now returns an
56   iterator to the next instruction instead of ``void``. Targets that previously
57   did ``MBB.erase(I); return;`` now probably want ``return MBB.erase(I);``.
58
59 .. NOTE
60    For small 1-3 sentence descriptions, just add an entry at the end of
61    this list. If your description won't fit comfortably in one bullet
62    point (e.g. maybe you would like to give an example of the
63    functionality, or simply have a lot to talk about), see the `NOTE` below
64    for adding a new subsection.
65
66 * ... next change ...
67
68 .. NOTE
69    If you would like to document a larger change, then you can add a
70    subsection about it right here. You can copy the following boilerplate
71    and un-indent it (the indentation causes it to be inside this comment).
72
73    Special New Feature
74    -------------------
75
76    Makes programs 10x faster by doing Special New Thing.
77
78 Changes to the LLVM IR
79 ----------------------
80
81 * New intrinsics ``llvm.masked.load``, ``llvm.masked.store``,
82   ``llvm.masked.gather`` and ``llvm.masked.scatter`` were introduced to the
83   LLVM IR to allow selective memory access for vector data types.
84
85 Changes to the ARM Backend
86 --------------------------
87
88  During this release ...
89
90
91 Changes to the MIPS Target
92 --------------------------
93
94  During this release ...
95
96
97 Changes to the PowerPC Target
98 -----------------------------
99
100  During this release ...
101
102
103 Changes to the X86 Target
104 -------------------------
105
106 * LLVM now supports the Intel CPU codenamed Skylake Server with AVX-512
107   extensions using ``-march=skylake-avx512``. The switch enables the
108   ISA extensions AVX-512{F, CD, VL, BW, DQ}.
109
110 * LLVM now supports the Intel CPU codenamed Knights Landing with AVX-512
111   extensions using ``-march=knl``. The switch enables the ISA extensions
112   AVX-512{F, CD, ER, PF}.
113
114 Changes to the AMDGPU Target
115 -----------------------------
116
117  * Mesa 11.0.x is no longer supported
118
119
120 Changes to the OCaml bindings
121 -----------------------------
122
123  During this release ...
124
125 Support for attribute 'notail' has been added
126 ---------------------------------------------
127
128 This marker prevents optimization passes from adding 'tail' or
129 'musttail' markers to a call. It is used to prevent tail call
130 optimization from being performed on the call.
131
132 External Open Source Projects Using LLVM 3.9
133 ============================================
134
135 An exciting aspect of LLVM is that it is used as an enabling technology for
136 a lot of other language and tools projects. This section lists some of the
137 projects that have already been updated to work with LLVM 3.9.
138
139 * A project
140
141
142 Additional Information
143 ======================
144
145 A wide variety of additional information is available on the `LLVM web page
146 <http://llvm.org/>`_, in particular in the `documentation
147 <http://llvm.org/docs/>`_ section.  The web page also contains versions of the
148 API documentation which is up-to-date with the Subversion version of the source
149 code.  You can access versions of these documents specific to this release by
150 going into the ``llvm/docs/`` directory in the LLVM tree.
151
152 If you have any questions or comments about LLVM, please feel free to contact
153 us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
154