From: Dan Gohman Date: Tue, 7 Jul 2009 20:05:15 +0000 (+0000) Subject: Add a paragraph about the Add->FAdd API change. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f667e7ed185929929ebf8e2b901a1e4230497002;p=oota-llvm.git 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 --- diff --git a/docs/ReleaseNotes-2.6.html b/docs/ReleaseNotes-2.6.html index eed5caf11d3..6e99a60532c 100644 --- a/docs/ReleaseNotes-2.6.html +++ b/docs/ReleaseNotes-2.6.html @@ -441,6 +441,14 @@ API changes are:

context which can be passed in any and all cases where a context is required.
  • The getABITypeSize methods are now called getAllocSize.
  • +
  • The Add, Sub, and Mul operators are no longer + overloaded for floating-point types. Floating-point addition, subtraction, + and multiplication are now represented with new operators FAdd, + FSub, and FMul. In the IRBuilder API, + CreateAdd, CreateSub, CreateMul, and + CreateNeg should only be used for integer arithmetic now; + CreateFAdd, CreateFSub, CreateFMul, and + CreateFNeg should now be used for floating-point arithmetic.