[LLVMdev] Generating Floating point constants

St├ęphane Letz letz at free.fr
Wed Jun 2 02:59:54 PDT 2010


Hi,

We need to generate "Floating point constants" in our code. In http://llvm.org/docs/LangRef.html it is explained that FP has to follow special encoding rules to be handled by LLVM later one (hexadecimal coding...)

Is there any code available in LLVM  to handle this kind of "standard float to LLVM float" conversion?

Thanks.

St├ęphane Letz



More information about the llvm-dev mailing list