HomePhabricator

[LangRef] Clarify GEP inbounds wrapping semantics

Authored by nikic on Tue, Nov 3, 11:39 AM.

Description

[LangRef] Clarify GEP inbounds wrapping semantics

Clarify the semantics of GEP inbounds, in particular with regard
to what it means for wrapping. This cleans up some confusion on
when it is legal to apply nuw/nsw flags to various parts of the
GEP calculation.

Differential Revision: https://reviews.llvm.org/D90708