[Docs] Fix scoped noalias example
authorAdam Nemet <anemet@apple.com>
Mon, 11 May 2015 08:30:28 +0000 (08:30 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 11 May 2015 08:30:28 +0000 (08:30 +0000)
Summary:
As far as I understand the entire point of this example is to show that
if noalias is not a superset/equal to the alias.scope list on a scope
domain then load could reference locations that the store is not known
to not-alias i.e may alias.

Reviewers: hfinkel

Reviewed By: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9598

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236977 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index 231aba8bdefc51d10341581090694abc4304aa96..24765870dbfbb131cb43673186f7bbb6afcc362c 100644 (file)
@@ -3423,7 +3423,7 @@ For example,
     %2 = load float, float* %c, align 4, !alias.scope !5
     store float %2, float* %arrayidx.i2, align 4, !noalias !6
 
-    ; These two instructions don't alias (for domain !0, the set of scopes in
+    ; These two instructions may alias (for domain !0, the set of scopes in
     ; the !noalias list is not a superset of, or equal to, the scopes in the
     ; !alias.scope list):
     %2 = load float, float* %c, align 4, !alias.scope !6