blob: f67ebf0e4c7a06d5db4cec16b65a956de7163fda [file] [log] [blame]
Dmitri Gribenko38782b82012-12-09 23:14:26 +00001======================
Bill Wendlingaf8c57c2013-06-04 06:12:31 +00002LLVM 3.4 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::
Bill Wendlingaf8c57c2013-06-04 06:12:31 +00009 These are in-progress notes for the upcoming LLVM 3.4 release. You may
10 prefer the `LLVM 3.3 Release Notes <http://llvm.org/releases/3.3/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,
Bill Wendlingaf8c57c2013-06-04 06:12:31 +000018release 3.4. 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
Chandler Carruthc089d822013-11-07 00:23:08 +000044* This is expected to be the last release of LLVM which compiles using a C++98
45 toolchain. We expect to start using some C++11 features in LLVM and other
46 sub-projects starting after this release. That said, we are committed to
47 supporting a reasonable set of modern C++ toolchains as the host compiler on
48 all of the platforms. This will at least include Visual Studio 2012 on
49 Windows, and Clang 3.1 or GCC 4.7.x on Mac and Linux. The final set of
50 compilers (and the C++11 features they support) is not set in stone, but we
51 wanted users of LLVM to have a heads up that the next release will involve
52 a substantial change in the host toolchain requirements.
53
Rafael Espindola2a2a0972013-07-26 22:32:58 +000054* The regression tests now fail if any command in a pipe fails. To disable it in
55 a directory, just add ``config.pipefail = False`` to its ``lit.local.cfg``.
56 See :doc:`Lit <CommandGuide/lit>` for the details.
57
Bill Wendlingaf8c57c2013-06-04 06:12:31 +000058* Support for exception handling has been removed from the old JIT. Use MCJIT
59 if you need EH support.
Dmitri Gribenko38782b82012-12-09 23:14:26 +000060
Bill Wendlingaf8c57c2013-06-04 06:12:31 +000061* The R600 backend is not marked experimental anymore and is built by default.
Andrew Trick1fc397f2013-05-07 17:34:35 +000062
Michael Gottesmandd6716c2013-06-20 18:47:51 +000063* APFloat::isNormal() was renamed to APFloat::isFiniteNonZero() and
64 APFloat::isIEEENormal() was renamed to APFloat::isNormal(). This ensures that
65 APFloat::isNormal() conforms to IEEE-754R-2008.
66
Meador Inged554a492013-06-21 03:08:23 +000067* The library call simplification pass has been removed. Its functionality
68 has been integrated into the instruction combiner and function attribute
69 marking passes.
70
Ahmed Bougachae17ecff2013-07-23 17:25:26 +000071* Support for building using Visual Studio 2008 has been dropped. Use VS 2010
72 or later instead. For more information, see the `Getting Started using Visual
Ahmed Bougachab08b1152013-07-23 17:32:57 +000073 Studio <GettingStartedVS.html>`_ page.
Ahmed Bougachae17ecff2013-07-23 17:25:26 +000074
Nadav Rotemeae928a2013-08-05 04:31:05 +000075* The Loop Vectorizer that was previously enabled for -O3 is now enabled for
76 -Os and -O2.
77
78* The new SLP Vectorizer is now enabled by default.
79
Rafael Espindolab2be0b42013-08-06 13:16:28 +000080* llvm-ar now uses the new Object library and produces archives and
81 symbol tables in the gnu format.
82
Matt Arsenault72c83a82013-11-12 08:05:30 +000083* FileCheck now allows specifing -check-prefix multiple times. This
84 helps reduce duplicate check lines when using multiple RUN lines.
85
Sean Silva1eab30d2013-01-20 03:29:50 +000086* ... next change ...
Dmitri Gribenko38782b82012-12-09 23:14:26 +000087
Sean Silva1eab30d2013-01-20 03:29:50 +000088.. NOTE
89 If you would like to document a larger change, then you can add a
90 subsection about it right here. You can copy the following boilerplate
91 and un-indent it (the indentation causes it to be inside this comment).
Dmitri Gribenko38782b82012-12-09 23:14:26 +000092
Sean Silva1eab30d2013-01-20 03:29:50 +000093 Special New Feature
94 -------------------
Dmitri Gribenko38782b82012-12-09 23:14:26 +000095
Sean Silva1eab30d2013-01-20 03:29:50 +000096 Makes programs 10x faster by doing Special New Thing.
Dmitri Gribenko38782b82012-12-09 23:14:26 +000097
Tim Northoverfb6f08d2013-02-13 12:46:32 +000098
Bill Wendlingaf8c57c2013-06-04 06:12:31 +000099External Open Source Projects Using LLVM 3.4
Pekka Jaaskelainenb531a112013-05-03 07:37:04 +0000100============================================
101
102An exciting aspect of LLVM is that it is used as an enabling technology for
103a lot of other language and tools projects. This section lists some of the
Bill Wendlingaf8c57c2013-06-04 06:12:31 +0000104projects that have already been updated to work with LLVM 3.4.
Kai Nacke4157b372013-05-26 17:37:43 +0000105
106
Kai Nackeec6e3922013-11-14 05:57:40 +0000107LDC - the LLVM-based D compiler
108-------------------------------
109
110`D <http://dlang.org>`_ is a language with C-like syntax and static typing. It
111pragmatically combines efficiency, control, and modeling power, with safety and
112programmer productivity. D supports powerful concepts like Compile-Time Function
113Execution (CTFE) and Template Meta-Programming, provides an innovative approach
114to concurrency and offers many classical paradigms.
115
116`LDC <http://wiki.dlang.org/LDC>`_ uses the frontend from the reference compiler
117combined with LLVM as backend to produce efficient native code. LDC targets
118x86/x86_64 systems like Linux, OS X, FreeBSD and Windows and also Linux/PPC64.
119Ports to other architectures like ARM and AArch64 are underway.
120
121
Dmitri Gribenko38782b82012-12-09 23:14:26 +0000122Additional Information
123======================
124
125A wide variety of additional information is available on the `LLVM web page
126<http://llvm.org/>`_, in particular in the `documentation
127<http://llvm.org/docs/>`_ section. The web page also contains versions of the
128API documentation which is up-to-date with the Subversion version of the source
129code. You can access versions of these documents specific to this release by
130going into the ``llvm/docs/`` directory in the LLVM tree.
131
132If you have any questions or comments about LLVM, please feel free to contact
133us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
134