diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -9639,10 +9639,10 @@ The optional ``!invariant.load`` metadata must reference a single metadata name ```` corresponding to a metadata node with no entries. If a load instruction tagged with the ``!invariant.load`` -metadata is executed, the optimizer may assume the memory location -referenced by the load contains the same value at all points in the -program where the memory location is known to be dereferenceable; -otherwise, the behavior is undefined. +metadata is executed, the memory location referenced by the load has +to contain the same value at all points in the program where the +memory location is dereferenceable; otherwise, the behavior is +undefined. The optional ``!invariant.group`` metadata must reference a single metadata name ```` corresponding to a metadata node with no entries.