This document contains the release notes for the LLVM compiler infrastructure, release 2.1. Here we describe the status of LLVM, including major improvements from the previous release and any known problems. All LLVM releases may be downloaded from the LLVM releases web site.
For more information about LLVM, including information about the latest release, please check out the main LLVM web site. If you have questions or comments, the LLVM developer's mailing list is a good place to send them.
Note that if you are reading this file from a Subversion checkout or the main LLVM web page, this document applies to the next release, not the current one. To see the release notes for a specific releases, please see the releases page.
This is the twelfth public release of the LLVM Compiler Infrastructure. It includes many features and refinements from LLVM 2.0.
LLVM 2.1 brings two new beta C front-ends. First, Duncan, Anton and Devang has started syncing up llvm-gcc with GCC 4.2, yielding "llvm-gcc 4.2" (creative, huh?). llvm-gcc 4.2 has the promise to bring much better FORTRAN and Ada support to LLVM as well as features like atomic builtins, OpenMP, and many other things. Check it out!
Second, LLVM now includes its own native C and Objective-C front-end (C++ is in progress, but is not very far along) code named "clang". This front-end has a number of great features, primarily aimed at source-level analysis and speeding up compile-time. At this point though, the LLVM Code Generator component is still very early in development, so it's mostly useful for people looking to build source-level analysis tools or source-to-source translators.
Some of the most noticable improvements this release have been in the optimizer, speeding it up and making it more aggressive
New features include:
New features include:
New features include:
New features include:
LLVM is known to work on the following platforms:
The core LLVM infrastructure uses GNU autoconf to adapt itself to the machine and operating system on which it is built. However, minor porting may be required to get LLVM to work on new platforms. We welcome your portability patches and reports of successful builds or error messages.
This section contains all known problems with the LLVM system, listed by component. As new problems are discovered, they will be added to these sections. If you run into a problem, please check the LLVM bug database and submit a bug if there isn't already one.
The following components of this LLVM release are either untested, known to be broken or unreliable, or are in early development. These components should not be relied on, and bugs should not be filed against them, but they may be useful to some people. In particular, if you would like to work on one of these components, please contact us on the LLVMdev list.
llvm-gcc4 does not currently support Link-Time Optimization on most platforms "out-of-the-box". Please inquire on the llvmdev mailing list if you are interested.
"long double" is silently transformed by the front-end into "double". There is no support for floating point data types of any size other than 32 and 64 bits.
llvm-gcc does not support __builtin_apply yet. See Constructing Calls: Dispatching a call to another function.
llvm-gcc partially supports these GCC extensions:
llvm-gcc supports the vast majority of GCC extensions, including:
typeof
: referring to the type of an expression.?:
, ",
" and casts in lvalues.?:
expression.void
-pointers and function pointers.\e
stands for the character <ESC>.__const__
, __asm__
, etc., for header files.enum foo;
, with details to follow.If you run into GCC extensions which have not been included in any of these lists, please let us know (also including whether or not they work).
The C++ front-end is considered to be fully tested and works for a number of non-trivial programs, including LLVM itself, Qt, Mozilla, etc.
A wide variety of additional information is available on the LLVM web page, in particular in the documentation section. The web page also contains versions of the API documentation which is up-to-date with the Subversion version of the source code. You can access versions of these documents specific to this release by going into the "llvm/doc/" directory in the LLVM tree.
If you have any questions or comments about LLVM, please feel free to contact us via the mailing lists.