[LLVMdev] Generating Floating point constants

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


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?


St├ęphane Letz

More information about the llvm-dev mailing list