Add a paragraph about the Add->FAdd API change.
authorDan Gohman <gohman@apple.com>
Tue, 7 Jul 2009 20:05:15 +0000 (20:05 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 7 Jul 2009 20:05:15 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74941 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes-2.6.html

index eed5caf11d3bec2b03009cbc2c14ceb2d25fbc94..6e99a60532c78f3a169b2819e4dc96c43c2316d0 100644 (file)
@@ -441,6 +441,14 @@ API changes are:</p>
     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>