[llvm-dev] LLVM no getInt128 in IRBuilder?
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 5 07:47:45 PDT 2017
On 3 July 2017 at 23:49, 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)?
Integers above 64-bits are represented by APInt classes because you
have to stop somewhere and __int128 isn't a standard type anywhere
that I know of. So you'll have to create your own APInt use "getInt"
More information about the llvm-dev