diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-07 20:05:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-07 20:05:15 +0000 |
commit | f667e7ed185929929ebf8e2b901a1e4230497002 (patch) | |
tree | e5a508deb6c434e4eb0cea9c32524b059a132a1f /docs/ReleaseNotes-2.6.html | |
parent | 1c83eb33c3e2f463307fb7e61d5b464833645d86 (diff) | |
download | external_llvm-f667e7ed185929929ebf8e2b901a1e4230497002.zip external_llvm-f667e7ed185929929ebf8e2b901a1e4230497002.tar.gz external_llvm-f667e7ed185929929ebf8e2b901a1e4230497002.tar.bz2 |
Add a paragraph about the Add->FAdd API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes-2.6.html')
-rw-r--r-- | docs/ReleaseNotes-2.6.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ReleaseNotes-2.6.html b/docs/ReleaseNotes-2.6.html index eed5caf..6e99a60 100644 --- a/docs/ReleaseNotes-2.6.html +++ b/docs/ReleaseNotes-2.6.html @@ -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> |