[llvm-commits] CVS: llvm/include/llvm/Analysis/BasicAliasAnalysis.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Sep 25 17:28:03 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
BasicAliasAnalysis.h updated: 1.4 -> 1.5
---
Log message:
ImmutablePass's don't need a runOnFunction, nor do they need to explicitly say
that they preserve all xforms
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/BasicAliasAnalysis.h
diff -u llvm/include/llvm/Analysis/BasicAliasAnalysis.h:1.4 llvm/include/llvm/Analysis/BasicAliasAnalysis.h:1.5
--- llvm/include/llvm/Analysis/BasicAliasAnalysis.h:1.4 Wed Sep 25 17:00:18 2002
+++ llvm/include/llvm/Analysis/BasicAliasAnalysis.h Wed Sep 25 17:27:54 2002
@@ -13,17 +13,7 @@
#include "llvm/Pass.h"
struct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {
-
- // Pass Implementation stuff. This isn't much of a pass.
- //
- bool runOnFunction(Function &) { return false; }
-
- // getAnalysisUsage - Does not modify anything.
- //
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.setPreservesAll();
- }
-
+
// alias - This is the only method here that does anything interesting...
//
Result alias(const Value *V1, const Value *V2) const;
More information about the llvm-commits
mailing list