[LLVMdev] ConstantFP API Change

Chris Lattner sabre at nondot.org
Sun May 4 11:15:26 PDT 2008


On Apr 19, 2008, at 5:54 PM, Chris Lattner wrote:

> Hi All,
>
> At some point in the next week or two I'm going to remove the
> ConstantFP::get(type, APFloat) method.

I committed this:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080428/061932.html

-Chris

> Right now, you can immediately
> fix your code by dropping the first 'type' argument.  For example, if
> you have:
>
>   ConstantFP::get(Ty, APFloat(1.0))
>
> just change it to:
>
>   ConstantFP::get(APFloat(1.0))
>
> Both forms work with SVN head right now so you can migrate as
> convenient.  The former will stop working in a week or two.
>
> -Chris
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list