]> granicus.if.org Git - llvm/commitdiff
[docs] AliasAnalysis: clarify that PartialAlias doesn't enforce
authorNuno Lopes <nunoplopes@sapo.pt>
Sat, 15 Jul 2017 09:09:24 +0000 (09:09 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Sat, 15 Jul 2017 09:09:24 +0000 (09:09 +0000)
objects to start at the same address

As discussed on the ML, there's consensus that this is what the implementations
do and it seems sensible.

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

docs/AliasAnalysis.rst

index e201333f30070fc821ef34132e1d70cfbca98deb..0a5cb00a48d3b0c844474dc3208285c96c69c5e2 100644 (file)
@@ -132,7 +132,8 @@ The ``MayAlias`` response is used whenever the two pointers might refer to the
 same object.
 
 The ``PartialAlias`` response is used when the two memory objects are known to
-be overlapping in some way, but do not start at the same address.
+be overlapping in some way, regardless whether they start at the same address
+or not.
 
 The ``MustAlias`` response may only be returned if the two memory objects are
 guaranteed to always start at exactly the same location. A ``MustAlias``