diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-18 23:31:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-18 23:31:47 +0000 |
commit | eee5400442e0812cb375ed5e17595a62f9240b80 (patch) | |
tree | 6de7757d83b59214c6b3670305520c45b329766f /lib/Analysis/AliasSetTracker.cpp | |
parent | 1be4ab681e086ec83e96d543d37e3474ef400282 (diff) |
Make the representation of AliasSets explicitly differentiate
between "not known yet" and "known no tbaa info" so that it
can merge them properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasSetTracker.cpp')
-rw-r--r-- | lib/Analysis/AliasSetTracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index 2488b48cfc..2fd5acd051 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/lib/Analysis/AliasSetTracker.cpp @@ -377,7 +377,7 @@ void AliasSetTracker::add(const AliasSetTracker &AST) { bool X; for (AliasSet::iterator ASI = AS.begin(), E = AS.end(); ASI != E; ++ASI) { AliasSet &NewAS = addPointer(ASI.getPointer(), ASI.getSize(), - ASI.getRawTBAAInfo(), + ASI.getTBAAInfo(), (AliasSet::AccessType)AS.AccessTy, X); if (AS.isVolatile()) NewAS.setVolatile(); } @@ -533,7 +533,7 @@ void AliasSetTracker::copyValue(Value *From, Value *To) { I = PointerMap.find(From); AliasSet *AS = I->second->getAliasSet(*this); AS->addPointer(*this, Entry, I->second->getSize(), - I->second->getRawTBAAInfo(), + I->second->getTBAAInfo(), true); } |