Make the representation of AliasSets explicitly differentiate
[oota-llvm.git] / lib / Analysis / AliasSetTracker.cpp
index 2488b48cfc1e1f15b4ff2ac5e6dbecc940d13772..2fd5acd051c59e30e713e1aebb47b2d0ea759e86 100644 (file)
@@ -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);
 }