[llvm-commits] [llvm] r117268 - /llvm/trunk/lib/Analysis/AliasAnalysis.cpp

Dan Gohman gohman at apple.com
Mon Oct 25 09:29:52 PDT 2010


Author: djg
Date: Mon Oct 25 11:29:52 2010
New Revision: 117268

URL: http://llvm.org/viewvc/llvm-project?rev=117268&view=rev
Log:
Update comments; BasicAA is no longer necessarily the end of the chain.

Modified:
    llvm/trunk/lib/Analysis/AliasAnalysis.cpp

Modified: llvm/trunk/lib/Analysis/AliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysis.cpp?rev=117268&r1=117267&r2=117268&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysis.cpp Mon Oct 25 11:29:52 2010
@@ -94,7 +94,7 @@
   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 @@
       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 @@
   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





More information about the llvm-commits mailing list