diff options
author | Duncan Sands <baldrick@free.fr> | 2008-10-14 07:06:37 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-10-14 07:06:37 +0000 |
commit | 9ba237990633f092385adc815d1f6cc4680eb9f7 (patch) | |
tree | aecd7b32b4879bf6cf0ff5a334e8ed26da8029be /docs | |
parent | 022f735c4da35cc79d997e2be7959d3c33f141d5 (diff) |
Mention the different constant folders that IRBuilder
can use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ReleaseNotes.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 6479a270f5..f42df3bc81 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -191,7 +191,7 @@ tuples, dope vectors, etc as Value*'s instead of as a tuple of Value*'s or as memory values.</p></li> <li><p>LLVM 2.4 also includes an initial port for the PIC16 microprocessor. This -is the LLVM targer that only has support for 8 bit registers, and a number of +is the LLVM target that only has support for 8 bit registers, and a number of other crazy constraints. While the port is still in early development stages, it shows some interesting things you can do with LLVM.</p></li> @@ -273,7 +273,13 @@ for any of these IR features though.</li> easier for front-ends to create debug info descriptors, similar to the way that IRBuilder makes it easier to create LLVM IR.</li> -<li>LLVM now supports "function attributes", which allows us to seperate return +<li>The <tt>IRBuilder</tt> class is now parametrized by a class responsible +for constant folding. The default ConstantFolder class does target independent +constant folding. The NoFolder class does no constant folding at all, which is +useful when learning how LLVM works. The TargetFolder class folds the most, +doing target dependent constant folding.</li> + +<li>LLVM now supports "function attributes", which allows us to separate return value attributes from function attributes. LLVM now supports attributes on a function itself, a return value, and its parameters. New supported function attributes include noinline/alwaysinline and the "opt-size" flag which says the |