mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
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:
parent
05e47987ee
commit
e181b94309
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user