Add a paragraph about the Add->FAdd API change.
llvm-svn: 74941
This commit is contained in:
parent
02a44edf12
commit
628af7a4bc
|
@ -441,6 +441,14 @@ API changes are:</p>
|
||||||
context which can be passed in any and all cases where a context is
|
context which can be passed in any and all cases where a context is
|
||||||
required.
|
required.
|
||||||
<li>The <tt>getABITypeSize</tt> methods are now called <tt>getAllocSize</tt>.</li>
|
<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>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue