[LLVMdev] LLVM and GMP

Chris Lattner clattner at apple.com
Tue Mar 24 23:38:27 PDT 2009


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




More information about the llvm-dev mailing list