mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Have AliasSet::aliasesUnknownInst use pointer TBAA info when available
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a4ccc3aa2
commit
ce0dd7314b
@ -189,7 +189,9 @@ bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const {
|
||||
}
|
||||
|
||||
for (iterator I = begin(), E = end(); I != E; ++I)
|
||||
if (AA.getModRefInfo(Inst, I.getPointer(), I.getSize()) !=
|
||||
if (AA.getModRefInfo(Inst, AliasAnalysis::Location(I.getPointer(),
|
||||
I.getSize(),
|
||||
I.getTBAAInfo())) !=
|
||||
AliasAnalysis::NoModRef)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user