summaryrefslogtreecommitdiff
path: root/lib/Analysis/AliasAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-19 23:09:08 +0000
committerDan Gohman <gohman@apple.com>2010-10-19 23:09:08 +0000
commitdb4708cf86cece22539ff022cc0601612dd02ead (patch)
treeb702ba414b0b7328ab7565966e3ac2e2a8eb4497 /lib/Analysis/AliasAnalysis.cpp
parent3da848bbda62b25c12335998aaa44ab361f0bf15 (diff)
downloadllvm-db4708cf86cece22539ff022cc0601612dd02ead.tar.gz
llvm-db4708cf86cece22539ff022cc0601612dd02ead.tar.bz2
llvm-db4708cf86cece22539ff022cc0601612dd02ead.tar.xz
Move NoAA out of BasicAliasAnalysis.cpp into its own file, now that
it doesn't have a special relationship with BasicAliasAnalysis anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r--lib/Analysis/AliasAnalysis.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp
index e5fddabadd..d01320c141 100644
--- a/lib/Analysis/AliasAnalysis.cpp
+++ b/lib/Analysis/AliasAnalysis.cpp
@@ -342,9 +342,3 @@ bool llvm::isIdentifiedObject(const Value *V) {
return A->hasNoAliasAttr() || A->hasByValAttr();
return false;
}
-
-// Because of the way .a files work, we must force the BasicAA implementation to
-// be pulled in if the AliasAnalysis classes are pulled in. Otherwise we run
-// the risk of AliasAnalysis being used, but the default implementation not
-// being linked into the tool that uses it.
-DEFINING_FILE_FOR(AliasAnalysis)