[llvm-commits] [llvm] r97459 - /llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
Dan Gohman
gohman at apple.com
Mon Mar 1 09:56:04 PST 2010
Author: djg
Date: Mon Mar 1 11:56:04 2010
New Revision: 97459
URL: http://llvm.org/viewvc/llvm-project?rev=97459&view=rev
Log:
Add a comment.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp?rev=97459&r1=97458&r2=97459&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp Mon Mar 1 11:56:04 2010
@@ -10,6 +10,10 @@
// This file defines the ScalarEvolutionAliasAnalysis pass, which implements a
// simple alias analysis implemented in terms of ScalarEvolution queries.
//
+// This differs from traditional loop dependence analysis in that it tests
+// for dependencies within a single iteration of a loop, rather than
+// dependences between different iterations.
+//
// ScalarEvolution has a more complete understanding of pointer arithmetic
// than BasicAliasAnalysis' collection of ad-hoc analyses.
//
@@ -41,7 +45,7 @@
return (AliasAnalysis*)this;
return this;
}
-
+
private:
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
virtual bool runOnFunction(Function &F);
More information about the llvm-commits
mailing list