[LLVMdev] get value of int greater than 64 bit?

Ryan Taylor ryta1203 at gmail.com
Tue Jan 22 10:47:50 PST 2013

I have an instruction:

Instruction:   %mask166 = and i128 %lvar_ins176, -18446462598732840961

I would like to get the value of the const above, I'm using getSExtValue;
however, I obviously get an assert for "bit size" greater than 64 (since
it's a i128 instruction).

So how else can I get this value?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130122/bb8590f0/attachment.html>

More information about the llvm-dev mailing list