<div dir="ltr"><div>Hi,</div><div><br></div><div>I've put up <a href="https://reviews.llvm.org/D90708">https://reviews.llvm.org/D90708</a> to clarify the wrapping limitations for GEP inbounds, because I find the current wording ambiguous. I think this codifies the way it is currency interpreted in practice, but I'd like to have some wider feedback on that.</div><div><br></div><div>Essentially this comes down to two questions:</div><div><br></div><div> * Can an allocated object cross the unsigned address space boundary? (In address space zero the answer is clearly "no", due to the null pointer.)<br></div><div> * Can an allocated object cross the signed address space boundary? (On x86-64 the answer is clearly "no", due to canonical address space layout.)</div><div><br></div><div>My current assumption is that the answer to the first question is "no" and the answer to the second question is "yes". (For optimization, it would be ideal if both questions were answered by "yes".)<br></div><div><br></div><div>Regards,<br></div><div>Nikita<br></div></div>