Displaying 2 results from an estimated 2 matches for "948f846a".
2015 Jun 11
2
[LLVMdev] Question about NoWrap flag for SCEVAddRecExpr
> On Jun 10, 2015, at 11:44 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:
>
>> Base is treated as unsigned so 0xff…ff + 1 would be 0x100…00
>
> This is the part I was missing, thanks for pointing out the FAQ. So
> the infinitely precise address computed by a GEP is
>
> zext(Base) + sext(Idx0) + sext(Idx1) … ?
Yes, that is the way I read it.
2015 Jun 11
2
[LLVMdev] Question about NoWrap flag for SCEVAddRecExpr
...es, the behavior is undefined.
So this works as expected without a potential overflow:
for (char *p = array; p < array + sizeof(array); ++p) …
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150611/948f846a/attachment.html>