[LangRef] Limit readnone,read/writeonly to memory visible outside the fn
authorFlorian Hahn <flo@fhahn.com>
Mon, 25 Apr 2022 10:32:50 +0000 (11:32 +0100)
committerFlorian Hahn <flo@fhahn.com>
Mon, 25 Apr 2022 10:32:50 +0000 (11:32 +0100)
commitb00fd352777ddad22c8ca8d6704700f60999f5c9
treebfff6ebb43b10b46fd72bc65b96bec6278eb754d
parentea8cbd5c58dada00acc6ce8440f0110da2b533c6
[LangRef] Limit readnone,read/writeonly to memory visible outside the fn

This patch unifies the wording used for readnone, readonly and writeonly
attributes. The definitions now more specifically refer to memory visible
outside the function

The motivation for the clarification is D123473.

Reviewed By: nlopes

Differential Revision: https://reviews.llvm.org/D124124
llvm/docs/LangRef.rst