From: Duncan Sands
Date: Tue, 14 Oct 2008 07:06:37 +0000 (+0000)
Subject: Mention the different constant folders that IRBuilder
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ba237990633f092385adc815d1f6cc4680eb9f7;p=oota-llvm.git
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
---
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 6479a270f53..f42df3bc812 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.
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.
@@ -273,7 +273,13 @@ for any of these IR features though.
easier for front-ends to create debug info descriptors, similar to the way that
IRBuilder makes it easier to create LLVM IR.
-LLVM now supports "function attributes", which allows us to seperate return
+The IRBuilder 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.
+
+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