From: Torok Edwin
Date: Fri, 30 Sep 2011 13:07:52 +0000 (+0000)
Subject: some 3.0 API notes
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f16e2d4b2af0e5659a7523a3041175ce2a2f2338;p=oota-llvm.git
some 3.0 API notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140851 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 002d8f4bd9a..04ea7096636 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -689,6 +689,24 @@ it run faster:
information in the LLVM IR now expects clients to use DIBuilder::finalize()
at the end of translation unit to complete debugging information encoding.
+The way the type system works has been rewritten: PATypeHolder
+and OpaqueType
are gone, and all APIs deal with Type*
+instead of const Type*
.
+If you need to create recursive structures, then create a named structure,
+and use setBody()
when all its elements are built.
+Type merging and refining is gone too: named structures are not
+merged with other structures, even if their layout is identical.
+(of course anonymous structures are still uniqued by layout).
+
+
+TargetSelect.h moved to Support/ from Target/
+
+UpgradeIntrinsicCall no longer upgrades pre-2.9 intrinsic calls
+(for example llvm.memset.i32
).
+
+It is mandatory to initialize all out-of-tree passes too and their dependencies now with
+INITIALIZE_PASS{BEGIN,END,}
and INITIALIZE_{PASS,AG}_DEPENDENCY
.
+