diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-25 16:29:52 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-25 16:29:52 +0000 |
commit | e46a3881fc74652b23c3b31ee487e0ca9a6a268a (patch) | |
tree | b8ae0a1ca9fecf7857b63c6cfaa6c38fa6103c79 /lib/Analysis/AliasAnalysis.cpp | |
parent | 6f12e29f7deab6e12bf56e4bdb61eb7a6ea18ad3 (diff) |
Update comments; BasicAA is no longer necessarily the end of the chain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/AliasAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index 8fbd8ea481..912923be8e 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -94,7 +94,7 @@ AliasAnalysis::getModRefInfo(ImmutableCallSite CS, if ((Mask & Mod) && pointsToConstantMemory(Loc)) Mask = ModRefResult(Mask & ~Mod); - // If this is BasicAA, don't forward. + // If this is the end of the chain, don't forward. if (!AA) return Mask; // Otherwise, fall back to the next AA in the chain. But we can merge @@ -152,7 +152,7 @@ AliasAnalysis::getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2) { return R; } - // If this is BasicAA, don't forward. + // If this is the end of the chain, don't forward. if (!AA) return Mask; // Otherwise, fall back to the next AA in the chain. But we can merge @@ -171,7 +171,7 @@ AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { if (const Function *F = CS.getCalledFunction()) Min = getModRefBehavior(F); - // If this is BasicAA, don't forward. + // If this is the end of the chain, don't forward. if (!AA) return Min; // Otherwise, fall back to the next AA in the chain. But we can merge |