mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Describe which dependencies are relevant to noalias, and document how
AliasAnalyses have the choice to respect noalias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,6 +201,11 @@ freed and reallocated between accesses through one pointer and accesses through
|
||||
the other -- in this case, there is a dependence, but it's mediated by the free
|
||||
and reallocation.</p>
|
||||
|
||||
<p>As an exception to this is with the
|
||||
<a href="LangRef.html#noalias"><tt>noalias</tt></a> keyword. AliasAnalysis
|
||||
implementations may choose to ignore the "irrelevant" dependencies, provided
|
||||
their clients do not need to be aware of these dependencies for correctness.</p>
|
||||
|
||||
<p>The MayAlias response is used whenever the two pointers might refer to the
|
||||
same object. If the two memory objects overlap, but do not start at the same
|
||||
location, return MayAlias.</p>
|
||||
|
||||
Reference in New Issue
Block a user