[llvm-commits] Patch series to expose APInt and APFloat to llvm-c and ocaml
Dan Gohman
gohman at apple.com
Mon Aug 10 13:57:03 PDT 2009
Hi Erick,
Is APInt/APFloat really the right level of abstraction to expose to the
C API? Would it make more sense to just provide more flexible ways to
call
ConstantInt::get and ConstantFP::get from the C API? The C++ API could
also be extended, if it would help here. This would seem to be a more
convenient API to work with, and have the side benefit of being more
efficient.
Dan
On Aug 10, 2009, at 1:25 PM, Erick Tryzelaar wrote:
> Hello all,
>
> It's been a while since I did any work on the ocaml bindings, so I
> want to
> check with everyone first before I commit this. This series adds
> initial
> support for APInt and APFloat, as well as adding support for
> creating constant
> ints and constant reals using APInt and APFloat.
>
> The only real question I have is on the ocaml side of things. Right
> now this is
> embedding the creation of APInt and APFloat into the Llvm module,
> but I think
> it could be nice to have a separate Llvm_support module that doesn't
> link in
> the rest of llvm. What do you all think?
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list