blob: 2142162ce58a43468aa3f4b2375e758a28788a33 [file] [log] [blame]
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +00001======================
Sean Silva4a535622013-01-20 03:29:50 +00002LLVM 3.3 Release Notes
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +00003======================
4
5.. contents::
6 :local:
7
Sean Silva4a535622013-01-20 03:29:50 +00008.. warning::
9 These are in-progress notes for the upcoming LLVM 3.3 release. You may
10 prefer the `LLVM 3.2 Release Notes <http://llvm.org/releases/3.2/docs
11 /ReleaseNotes.html>`_.
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000012
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000013
14Introduction
15============
16
17This document contains the release notes for the LLVM Compiler Infrastructure,
Sean Silva4a535622013-01-20 03:29:50 +000018release 3.3. Here we describe the status of LLVM, including major improvements
Dmitri Gribenkoe17d8582012-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 Silva4a535622013-01-20 03:29:50 +000034Non-comprehensive list of changes in this release
35=================================================
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000036
Sean Silva4a535622013-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 Gribenkoe17d8582012-12-09 23:14:26 +000043
Sean Silva4a535622013-01-20 03:29:50 +000044* The CellSPU port has been removed. It can still be found in older versions.
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000045
Sean Silva4a535622013-01-20 03:29:50 +000046* The IR-level extended linker APIs (for example, to link bitcode files out of
47 archives) have been removed. Any existing clients of these features should
48 move to using a linker with integrated LTO support.
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000049
Sean Silva8a72eff2013-01-20 03:32:55 +000050* LLVM and Clang's documentation has been migrated to the `Sphinx
51 <http://sphinx-doc.org/>`_ documentation generation system which uses
52 easy-to-write reStructuredText. See `llvm/docs/README.txt` for more
53 information.
54
Sean Silvaa79535c2013-02-07 05:56:46 +000055* TargetTransformInfo (TTI) is a new interface that can be used by IR-level
56 passes to obtain target-specific information, such as the costs of
57 instructions. Only "Lowering" passes such as LSR and the vectorizer are
58 allowed to use the TTI infrastructure.
Nadav Rotem87c61572013-02-07 05:42:31 +000059
Sean Silvaa79535c2013-02-07 05:56:46 +000060* We've improved the X86 and ARM cost model.
Nadav Rotem2119cf02013-02-07 05:44:58 +000061
Bill Wendling6eaab0d2013-02-13 21:10:15 +000062* The Attributes classes have been completely rewritten and expanded. They now
63 support not only enumerated attributes and alignments, but "string"
64 attributes, which are useful for passing information to code generation. See
65 `How To Use Attributes <HowToUseAttributes.html>`_ for more details.
66
Sean Silva4a535622013-01-20 03:29:50 +000067* ... next change ...
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000068
Sean Silva4a535622013-01-20 03:29:50 +000069.. NOTE
70 If you would like to document a larger change, then you can add a
71 subsection about it right here. You can copy the following boilerplate
72 and un-indent it (the indentation causes it to be inside this comment).
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000073
Sean Silva4a535622013-01-20 03:29:50 +000074 Special New Feature
75 -------------------
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000076
Sean Silva4a535622013-01-20 03:29:50 +000077 Makes programs 10x faster by doing Special New Thing.
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +000078
Tim Northover0f80f7b2013-02-13 12:46:32 +000079AArch64 target
80--------------
81
82We've added support for AArch64, ARM's 64-bit architecture. Development is still
83in fairly early stages, but we expect successful compilation when:
84
85- compiling standard compliant C99 and C++03 with Clang;
86- using Linux as a target platform;
87- where code + static data doesn't exceed 4GB in size (heap allocated data has
88 no limitation).
89
90Some additional functionality is also implemented, notably DWARF debugging,
91GNU-style thread local storage and inline assembly.
92
Sean Silvaa79535c2013-02-07 05:56:46 +000093Loop Vectorizer
94---------------
95
96We've continued the work on the loop vectorizer. The loop vectorizer now
97has the following features:
98
99- Loops with unknown trip count.
100- Runtime checks of pointers
101- Reductions, Inductions
102- If Conversion
103- Pointer induction variables
104- Reverse iterators
105- Vectorization of mixed types
106- Vectorization of function calls
107- Partial unrolling during vectorization
108
Tom Stellard1c66a182013-02-08 22:24:41 +0000109R600 Backend
110------------
111
112The R600 backend was added in this release, it supports AMD GPUs
113(HD2XXX - HD7XXX). This backend is used in AMD's Open Source
114graphics / compute drivers which are developed as part of the `Mesa3D
115<http://www.mesa3d.org>`_ project.
116
Sean Silvaa79535c2013-02-07 05:56:46 +0000117
118
Dmitri Gribenkoe17d8582012-12-09 23:14:26 +0000119Additional Information
120======================
121
122A wide variety of additional information is available on the `LLVM web page
123<http://llvm.org/>`_, in particular in the `documentation
124<http://llvm.org/docs/>`_ section. The web page also contains versions of the
125API documentation which is up-to-date with the Subversion version of the source
126code. You can access versions of these documents specific to this release by
127going into the ``llvm/docs/`` directory in the LLVM tree.
128
129If you have any questions or comments about LLVM, please feel free to contact
130us via the `mailing lists <http://llvm.org/docs/#maillist>`_.
131