[llvm-dev] LLVM no getInt128 in IRBuilder?
Chris Lattner via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 5 07:58:38 PDT 2017
> On Jul 3, 2017, at 11:49 PM, Paul Hancock via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The IRBuilder header lacks 'getInt128', but has the ty func for 128 (also with different formatting), ConstantInt also lacks 128 input so does LLVM actually lack 128 constant support? or is the support limited to constant evaluation (ie; value = const64 * const64 or similar)?
Hi Paul,
LLVM supports arbitrary precision integers, which allows i128, i1234, or i13 if you want. IRBuilder is just a set of convenience helpers that boil down to lower level primitives, e.g. Type::getIntNTy(Ctx, 1234)
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170705/ab8f8319/attachment.html>
More information about the llvm-dev
mailing list