[LLVMdev] Floating point number format in .ll files changed?
Jan Rehders
cmdkeen at gmx.de
Tue Oct 2 12:51:50 PDT 2007
>> Does LLVM
>> provide any help converting floats to hexadecimal representation?
>
> Sure, there are internal conversion routines. Most constants are
> held in APFloat objects these days, you might want to look at that.
> What are you trying to do?
I'm writing a front-end for a custom language. Currently my compiler
is implemented in OCaml and generates .ll files by emitting text. I
notices floating point constants stopped working and will now need to
upgrade. I guess I will have a look at the OCaml bindings in the SVN
version now :)
More information about the llvm-dev
mailing list