From 65585aa3fcb6c70ab36fb8965ac864378f5e3d44 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 11 Apr 2004 16:43:07 +0000 Subject: [PATCH] Allow clients to be more efficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12831 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicAliasAnalysis.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index a68913574a9..8fc561ea1d9 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -49,6 +49,10 @@ 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; } + /// pointsToConstantMemory - Chase pointers until we find a (constant /// global) or not. bool pointsToConstantMemory(const Value *P);