Minimally update this code to handle PartialAlias.

llvm-svn: 121518
This commit is contained in:
Dan Gohman 2010-12-10 20:14:49 +00:00
parent 4d754a5502
commit 704e7c2332
1 changed files with 1 additions and 0 deletions

View File

@ -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;