Skip to content

Commit cd197f3

Browse files
committed
ReleaseNotes: tidy up for the release
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@341640 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a5b9a59 commit cd197f3

File tree

1 file changed

+42
-86
lines changed

1 file changed

+42
-86
lines changed

docs/ReleaseNotes.rst

Lines changed: 42 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ LLVM 7.0.0 Release Notes
55
.. contents::
66
:local:
77

8-
.. warning::
9-
These are in-progress notes for the upcoming LLVM 7 release.
10-
Release notes for previous releases can be found on
11-
`the Download Page <http://releases.llvm.org/download.html>`_.
12-
138

149
Introduction
1510
============
@@ -18,38 +13,27 @@ This document contains the release notes for the LLVM Compiler Infrastructure,
1813
release 7.0.0. Here we describe the status of LLVM, including major improvements
1914
from the previous release, improvements in various subprojects of LLVM, and
2015
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/>`_.
16+
from the `LLVM releases web site <https://llvm.org/releases/>`_.
2217

2318
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
19+
release, please check out the `main LLVM web site <https://llvm.org/>`_. If you
2520
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
21+
<https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
2722
them.
2823

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-
3424
Non-comprehensive list of changes in this release
3525
=================================================
36-
.. NOTE
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.
4226

4327
* The Windows installer no longer includes a Visual Studio integration.
4428
Instead, a new
45-
`LLVM Compiler Toolchain Visual Studio extension <https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain>`
29+
`LLVM Compiler Toolchain Visual Studio extension <https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain>`_
4630
is available on the Visual Studio Marketplace. The new integration includes
4731
support for Visual Studio 2017.
4832

4933
* Libraries have been renamed from 7.0 to 7. This change also impacts
5034
downstream libraries like lldb.
5135

52-
* The LoopInstSimplify pass (-loop-instsimplify) has been removed.
36+
* The LoopInstSimplify pass (``-loop-instsimplify``) has been removed.
5337

5438
* Symbols starting with ``?`` are no longer mangled by LLVM when using the
5539
Windows ``x`` or ``w`` IR mangling schemes.
@@ -64,16 +48,13 @@ Non-comprehensive list of changes in this release
6448
information available in LLVM to statically predict the performance of
6549
machine code for a specific CPU.
6650

67-
* The optimization flag to merge constants (-fmerge-all-constants) is no longer
68-
applied by default.
69-
7051
* Optimization of floating-point casts is improved. This may cause surprising
71-
results for code that is relying on the undefined behavior of overflowing
52+
results for code that is relying on the undefined behavior of overflowing
7253
casts. The optimization can be disabled by specifying a function attribute:
73-
"strict-float-cast-overflow"="false". This attribute may be created by the
54+
``"strict-float-cast-overflow"="false"``. This attribute may be created by the
7455
clang option ``-fno-strict-float-cast-overflow``.
75-
Code sanitizers can be used to detect affected patterns. The option for
76-
detecting this problem alone is "-fsanitize=float-cast-overflow":
56+
Code sanitizers can be used to detect affected patterns. The clang option for
57+
detecting this problem alone is ``-fsanitize=float-cast-overflow``:
7758

7859
.. code-block:: c
7960
@@ -86,7 +67,7 @@ Non-comprehensive list of changes in this release
8667
8768
.. code-block:: bash
8869
89-
clang -O1 ftrunc.c -fsanitize=float-cast-overflow ; ./a.out
70+
clang -O1 ftrunc.c -fsanitize=float-cast-overflow ; ./a.out
9071
ftrunc.c:5:15: runtime error: 4.29497e+09 is outside the range of representable values of type 'int'
9172
junk in the ftrunc: 0.000000
9273
@@ -104,19 +85,20 @@ Non-comprehensive list of changes in this release
10485
git grep -l 'DEBUG' | xargs perl -pi -e 's/\bDEBUG\s?\(/LLVM_DEBUG(/g'
10586
git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM
10687
107-
* Early support for UBsan, X-Ray instrumentation and libFuzzer (x86 and x86_64) for OpenBSD. Support for MSan
108-
(x86_64), X-Ray instrumentation and libFuzzer (x86 and x86_64) for FreeBSD.
88+
* Early support for UBsan, X-Ray instrumentation and libFuzzer (x86 and x86_64)
89+
for OpenBSD. Support for MSan (x86_64), X-Ray instrumentation and libFuzzer
90+
(x86 and x86_64) for FreeBSD.
10991

11092
* ``SmallVector<T, 0>`` shrank from ``sizeof(void*) * 4 + sizeof(T)`` to
11193
``sizeof(void*) + sizeof(unsigned) * 2``, smaller than ``std::vector<T>`` on
11294
64-bit platforms. The maximum capacity is now restricted to ``UINT32_MAX``.
11395
Since SmallVector doesn't have the exception-safety pessimizations some
114-
implementations saddle std::vector with and is better at using ``realloc``,
115-
it's now a better choice even on the heap (although when TinyPtrVector works,
116-
it's even smaller).
96+
implementations saddle ``std::vector`` with and is better at using ``realloc``,
97+
it's now a better choice even on the heap (although when ``TinyPtrVector`` works,
98+
that's even smaller).
11799

118100
* Preliminary/experimental support for DWARF v5 debugging information,
119-
including the new .debug_names accelerator table. DWARF emitted at ``-O0``
101+
including the new ``.debug_names`` accelerator table. DWARF emitted at ``-O0``
120102
should be fully DWARF v5 compliant. Type units and split DWARF are known
121103
not to be compliant, and higher optimization levels will still emit some
122104
information in v4 format.
@@ -129,33 +111,22 @@ Non-comprehensive list of changes in this release
129111
but it can now handle leftover C declarations in preprocessor output, if
130112
given output from a preprocessor run externally.)
131113

132-
* CodeView debug info can now be emitted MinGW configurations, if requested.
114+
* CodeView debug info can now be emitted for MinGW configurations, if requested.
133115

134-
* The :program:`opt` tool now supports the :option:`-load-pass-plugin` for
116+
* The :program:`opt` tool now supports the ``-load-pass-plugin`` option for
135117
loading pass plugins for the new PassManager.
136118

137-
* Note..
138-
139-
.. NOTE
140-
If you would like to document a larger change, then you can add a
141-
subsection about it right here. You can copy the following boilerplate
142-
and un-indent it (the indentation causes it to be inside this comment).
143-
144-
Special New Feature
145-
-------------------
146-
147-
Makes programs 10x faster by doing Special New Thing.
148119

149120
Changes to the LLVM IR
150121
----------------------
151122

152-
* The signatures for the builtins @llvm.memcpy, @llvm.memmove, and @llvm.memset
153-
have changed. Alignment is no longer an argument, and are instead conveyed as
154-
parameter attributes.
123+
* The signatures for the builtins ``@llvm.memcpy``, ``@llvm.memmove``, and
124+
``@llvm.memset`` have changed. Alignment is no longer an argument, and are
125+
instead conveyed as parameter attributes.
155126

156-
* invariant.group.barrier has been renamed to launder.invariant.group.
127+
* ``invariant.group.barrier`` has been renamed to ``launder.invariant.group``.
157128

158-
* invariant.group metadata can now refer only empty metadata nodes.
129+
* ``invariant.group`` metadata can now refer only to empty metadata nodes.
159130

160131
Changes to the AArch64 Target
161132
-----------------------------
@@ -201,7 +172,7 @@ During this release the MIPS target has:
201172
* Introduced definitions of ``[d]rem``, ``[d]remu``,
202173
and microMIPSR6 ``ll/sc`` instructions.
203174

204-
* Shrink-wrapping is now supported and enabled by default (except for -O0).
175+
* Shrink-wrapping is now supported and enabled by default (except for ``-O0``).
205176

206177
* Extended size reduction pass by the LWP and SWP instructions.
207178

@@ -214,22 +185,22 @@ During this release the MIPS target has:
214185

215186
* Improved the selection of multiple instructions.
216187

217-
* Load/store lb, sb, ld, sd, lld, ... instructions
188+
* Load/store ``lb``, ``sb``, ``ld``, ``sd``, ``lld``, ... instructions
218189
now support 32/64-bit offsets.
219190

220191
* Added support for ``y``, ``M``, and ``L`` inline assembler operand codes.
221192

222193
* Extended list of relocations supported by the ``.reloc`` directive
223194

224195
* Fixed using a wrong register class for creating an emergency
225-
spill slot for mips3 / n64 abi.
196+
spill slot for mips3 / n64 ABI.
226197

227198
* MIPS relocation types were generated for microMIPS code.
228199

229200
* Corrected definitions of multiple instructions (``lwp``, ``swp``, ``ctc2``,
230201
``cfc2``, ``sync``, ``synci``, ``cvt.d.w``, ...).
231202

232-
* Fixed atomic operations at O0 level.
203+
* Fixed atomic operations at ``-O0`` level.
233204

234205
* Fixed local dynamic TLS with Sym64
235206

@@ -240,11 +211,11 @@ During this release the PowerPC target has:
240211

241212
* Replaced the list scheduler for post register allocation with the machine scheduler.
242213

243-
* Added support for coldcc calling convention.
214+
* Added support for ``coldcc`` calling convention.
244215

245216
* Added support for ``symbol@high`` and ``symbol@higha`` symbol modifiers.
246217

247-
* Added support for quad-precision floating point type (``__float128``) under the llvm option `-enable-ppc-quad-precision`.
218+
* Added support for quad-precision floating point type (``__float128``) under the llvm option ``-enable-ppc-quad-precision``.
248219

249220
* Added dump function to ``LatencyPriorityQueue``.
250221

@@ -293,57 +264,42 @@ Changes to the X86 Target
293264
environments - in MSVC environments, long doubles are the same size as
294265
normal doubles.)
295266

296-
Changes to the AMDGPU Target
297-
-----------------------------
298-
299-
During this release ...
300-
301-
Changes to the AVR Target
302-
-----------------------------
303-
304-
During this release ...
305-
306267
Changes to the OCaml bindings
307268
-----------------------------
308269

309-
* Remove ``add_bb_vectorize``.
270+
* Removed ``add_bb_vectorize``.
310271

311272

312273
Changes to the C API
313274
--------------------
314275

315-
* Remove ``LLVMAddBBVectorizePass``. The implementation was removed and the C
276+
* Removed ``LLVMAddBBVectorizePass``. The implementation was removed and the C
316277
interface was made a deprecated no-op in LLVM 5. Use
317278
``LLVMAddSLPVectorizePass`` instead to get the supported SLP vectorizer.
318279

319280
Changes to the DAG infrastructure
320281
---------------------------------
321-
* ADDC/ADDE/SUBC/SUBE are now deprecated and will default to expand. Backends
322-
that wish to continue to use these opcodes should explicitely request so
282+
* ``ADDC``/``ADDE``/``SUBC``/``SUBE`` are now deprecated and will default to expand. Backends
283+
that wish to continue to use these opcodes should explicitely request to do so
323284
using ``setOperationAction`` in their ``TargetLowering``. New backends
324-
should use UADDO/ADDCARRY/USUBO/SUBCARRY instead of the deprecated opcodes.
325-
326-
* The SETCCE opcode has now been removed in favor of SETCCCARRY.
327-
328-
* TableGen now supports multi-alternative pattern fragments via the PatFrags
329-
class. PatFrag is now derived from PatFrags, which may require minor
330-
changes to backends that directly access PatFrag members.
285+
should use ``UADDO``/``ADDCARRY``/``USUBO``/``SUBCARRY`` instead of the deprecated opcodes.
331286

332-
External Open Source Projects Using LLVM 7
333-
==========================================
287+
* The ``SETCCE`` opcode has now been removed in favor of ``SETCCCARRY``.
334288

335-
* A project...
289+
* TableGen now supports multi-alternative pattern fragments via the ``PatFrags``
290+
class. ``PatFrag`` is now derived from ``PatFrags``, which may require minor
291+
changes to backends that directly access ``PatFrag`` members.
336292

337293

338294
Additional Information
339295
======================
340296

341297
A wide variety of additional information is available on the `LLVM web page
342-
<http://llvm.org/>`_, in particular in the `documentation
343-
<http://llvm.org/docs/>`_ section. The web page also contains versions of the
298+
<https://llvm.org/>`_, in particular in the `documentation
299+
<https://llvm.org/docs/>`_ section. The web page also contains versions of the
344300
API documentation which is up-to-date with the Subversion version of the source
345301
code. You can access versions of these documents specific to this release by
346302
going into the ``llvm/docs/`` directory in the LLVM tree.
347303

348304
If you have any questions or comments about LLVM, please feel free to contact
349-
us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
305+
us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_.

0 commit comments

Comments
 (0)