[LLVMdev] get unsigned integer pattern for ConstantFP

Matt Arsenault Matthew.Arsenault at amd.com
Mon May 5 11:06:51 PDT 2014


On 05/05/2014 10:12 AM, reed kotler wrote:
> What is the proper way to get the bit pattern associated with a 
> ConstantFP?
>
> The 32 bit pattern if MVT::f32 or pair of 32 bit patterns with MVT::f64 ?
>
I recently did this, and I used ConstantFP::getValueAPF().bitcastToAPInt()



More information about the llvm-dev mailing list