[LLVMdev] LLVM and GMP

someguy just.s0m3.guy+llvmdev at gmail.com
Wed Mar 25 00:17:54 PDT 2009


Oh. One more thing:

Paulo, while your working out how to do what Chris said (making usage
of bigints into library calls), wouldn't it just warm your heart to
document the process on the wiki?

</wiki pimping>

On Wed, Mar 25, 2009 at 9:16 AM, someguy
<just.s0m3.guy+llvmdev at gmail.com> wrote:
> 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