mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
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
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user