[LLVMdev] 2.7 release notes

Matthieu Moy Matthieu.Moy at grenoble-inp.fr
Thu Apr 22 01:28:21 PDT 2010


Chris Lattner <clattner at apple.com> writes:

> Ok, the LLVM 2.7 release notes are in near final shape.  Please take
> a look and suggest improvements (or, better yet, just commit
> improvements if you have commit access):

About the API changes, some that hit me when I ported some code to
LLVM 2.7, and not in the release notes (I had sent a private email
some time ago) :

--- ReleaseNotes.html.old       2010-04-22 09:43:42.000000000 +0200
+++ ReleaseNotes.html   2010-04-22 10:27:22.000000000 +0200
@@ -862,6 +862,18 @@
 <tt>isFPOrFPVector</tt> and <tt>isFPOrFPVector</tt> methods have been renamed
 <tt>isIntegerTy</tt>, <tt>isIntOrIntVectorTy</tt>, <tt>isFloatingPointTy</tt>, 
 <tt>isFPOrFPVectorTy</tt> and <tt>isFPOrFPVectorTy</tt> respectively.</li>
+
+<li><tt>llvm::Instruction::clone()</tt> no longer takes argument.</li>
+<li><tt>raw_fd_ostream</tt>'s constructor now takes a flag argument, not individual
+  booleans (see <tt>include/llvm/Support/raw_ostream.h</tt> for details).</li>
+<li>Some header files have been renamed:
+<ul>
+  <li><tt>llvm/Support/AIXDataTypesFix.h</tt> to <tt>llvm/System/AIXDataTypesFix.h</tt></li>
+  <li><tt>llvm/Support/DataTypes.h</tt> to <tt>llvm/System/DataTypes.h</tt></li>
+  <li><tt>llvm/Transforms/Utils/InlineCost.h</tt> to <tt>llvm/Analysis/InlineCost.h</tt></li>
+  <li><tt>llvm/Support/Mangler.h</tt> to <tt>llvm/Target/Mangler.h</tt></li>
+  <li><tt>llvm/Analysis/Passes.h</tt> to <tt>llvm/CodeGen/Passes.h</tt></li>
+</ul></li>
 </ul>
 
 </div>

There were others, which are not documented, but I'm not sure I
understand completely the change, so probably someone else should
reword that to fit in ReleaseNotes.html:

- New argument DisableVerify to
 llvm::TargetMachine::addPassesToEmitWholeFile (it has a default
 value, but one must update the declaration of redefinition of this
 function in derived classes).

- TargetAsmInfo changed to MCAsmInfo in back-end writters.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/



More information about the llvm-dev mailing list