diff options
author | Dan Gohman <gohman@apple.com> | 2010-12-10 20:14:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-12-10 20:14:49 +0000 |
commit | d891acd184b43db147b2d81bda8748da8b577233 (patch) | |
tree | bac423988c711b3b5a3e225058d9cd1bdabedcc4 | |
parent | 4a2a3eab2dcca16d61e16d3566eb936683ff9753 (diff) |
Minimally update this code to handle PartialAlias.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121518 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/LoopDependenceAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/LoopDependenceAnalysis.cpp b/lib/Analysis/LoopDependenceAnalysis.cpp index a3171ba957..618c98705f 100644 --- a/lib/Analysis/LoopDependenceAnalysis.cpp +++ b/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; |