[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jul 26 19:14:06 PDT 2004
Changes in directory llvm/lib/Analysis:
BasicAliasAnalysis.cpp updated: 1.48 -> 1.49
---
Log message:
basic-aa can actually provide simple mod/ref info
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff -u llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.48 llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.49
--- llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.48 Mon Jul 26 20:59:42 2004
+++ llvm/lib/Analysis/BasicAliasAnalysis.cpp Mon Jul 26 21:13:55 2004
@@ -83,9 +83,9 @@
ModRefResult getModRefInfo(CallSite CS, Value *P, unsigned Size);
- /// hasNoModRefInfoForCalls - We have no way to test one call against
- /// another, unless they are pure or const.
- virtual bool hasNoModRefInfoForCalls() const { return true; }
+ /// hasNoModRefInfoForCalls - We can provide mod/ref information against
+ /// non-escaping allocations.
+ virtual bool hasNoModRefInfoForCalls() const { return false; }
/// pointsToConstantMemory - Chase pointers until we find a (constant
/// global) or not.
More information about the llvm-commits
mailing list