[LLVMdev] LLVM and GMP
someguy
just.s0m3.guy+llvmdev at gmail.com
Wed Mar 25 00:16:37 PDT 2009
Oh. I see. That way the bigints don't need a representation in llvm IR... neat.
Sorry for the misdirecton!
On Wed, Mar 25, 2009 at 8:38 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Mar 24, 2009, at 11:20 PM, someguy wrote:
>
>> I could be wrong, but I think that you may need to add a 'big-integer'
>> intrinsic type to llvm.
>
> No, please don't. GMP is just another library like libc, your front-
> end should just generate calls into it like any other library. This
> is similar to how we handle threading and many other "language
> features".
>
> -Chris
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list