basic-aa can actually provide simple mod/ref info

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-07-27 02:13:55 +00:00
parent 05e47987ee
commit e181b94309

View File

@ -83,9 +83,9 @@ namespace {
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.