[llvm-commits] [llvm] r74941 - /llvm/trunk/docs/ReleaseNotes-2.6.html
Dan Gohman
gohman at apple.com
Tue Jul 7 13:05:34 PDT 2009
Author: djg
Date: Tue Jul 7 15:05:15 2009
New Revision: 74941
URL: http://llvm.org/viewvc/llvm-project?rev=74941&view=rev
Log:
Add a paragraph about the Add->FAdd API change.
Modified:
llvm/trunk/docs/ReleaseNotes-2.6.html
Modified: llvm/trunk/docs/ReleaseNotes-2.6.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes-2.6.html?rev=74941&r1=74940&r2=74941&view=diff
==============================================================================
--- llvm/trunk/docs/ReleaseNotes-2.6.html (original)
+++ llvm/trunk/docs/ReleaseNotes-2.6.html Tue Jul 7 15:05:15 2009
@@ -441,6 +441,14 @@
context which can be passed in any and all cases where a context is
required.
<li>The <tt>getABITypeSize</tt> methods are now called <tt>getAllocSize</tt>.</li>
+<li>The <tt>Add</tt>, <tt>Sub</tt>, and <tt>Mul</tt> operators are no longer
+ overloaded for floating-point types. Floating-point addition, subtraction,
+ and multiplication are now represented with new operators <tt>FAdd</tt>,
+ <tt>FSub</tt>, and <tt>FMul</tt>. In the <tt>IRBuilder</tt> API,
+ <tt>CreateAdd</tt>, <tt>CreateSub</tt>, <tt>CreateMul</tt>, and
+ <tt>CreateNeg</tt> should only be used for integer arithmetic now;
+ <tt>CreateFAdd</tt>, <tt>CreateFSub</tt>, <tt>CreateFMul</tt>, and
+ <tt>CreateFNeg</tt> should now be used for floating-point arithmetic.</li>
</ul>
</div>
More information about the llvm-commits
mailing list