summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-12-10 20:14:49 +0000
committerDan Gohman <gohman@apple.com>2010-12-10 20:14:49 +0000
commit704e7c23322c51c5c395c2a30234b501d2088542 (patch)
treece5fec3559246725375369be172313039820b839 /llvm/lib/Analysis/LoopDependenceAnalysis.cpp
parent4d754a5502aaa3eaca4b16a0afb6eb65c2397a40 (diff)
downloadbcm5719-llvm-704e7c23322c51c5c395c2a30234b501d2088542.tar.gz
bcm5719-llvm-704e7c23322c51c5c395c2a30234b501d2088542.zip
Minimally update this code to handle PartialAlias.
llvm-svn: 121518
Diffstat (limited to 'llvm/lib/Analysis/LoopDependenceAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/LoopDependenceAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LoopDependenceAnalysis.cpp b/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
index a3171ba957a..618c98705f8 100644
--- a/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
@@ -221,6 +221,7 @@ LoopDependenceAnalysis::analysePair(DependencePair *P) const {
switch (UnderlyingObjectsAlias(AA, aPtr, bPtr)) {
case AliasAnalysis::MayAlias:
+ case AliasAnalysis::PartialAlias:
// We can not analyse objects if we do not know about their aliasing.
DEBUG(dbgs() << "---> [?] may alias\n");
return Unknown;
OpenPOWER on IntegriCloud