diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 9ef7cce419f5..384c1201fa1a 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -4004,11 +4004,11 @@ entry:
If the inbounds keyword is present, the result value of the getelementptr is undefined if the base pointer is not an in bounds address of an allocated object, or if any of the addresses - formed by successive addition of the offsets implied by the indices to - the base address are not an in bounds address of that allocated - object. + that would be formed by successive addition of the offsets implied by the + indices to the base address with infinitely precise arithmetic are not an + in bounds address of that allocated object. The in bounds addresses for an allocated object are all the addresses - that point into the object, plus the address one past the end.
+ that point into the object, plus the address one byte past the end.If the inbounds keyword is not present, the offsets are added to the base address with silently-wrapping two's complement arithmetic, and