[LLVMdev] FP128Ty

Chris Lattner clattner at apple.com
Mon Feb 16 18:36:12 PST 2009


On Feb 16, 2009, at 6:12 PM, aparna kotha wrote:

> I am new to llvm and am stuck up with a problem.
> I am trying to initialize a Value* of type fp128 having the value 0
>
> I am using the following construct
>
> ConstantFP::get(APFloat(APInt(128,0,false)));
>
> This is returning a double instead of a float and I am confused.
>
> Thanks a lot for your help.

FP128Ty is stubbed out, but completely untested and not supported by  
any targets yet.

-Chris



More information about the llvm-dev mailing list