mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
Make this a bit more aggressive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65512d2525
commit
d433bde071
@ -125,7 +125,7 @@ AliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
|
||||
// If P points to a constant memory location, the call definitely could not
|
||||
// modify the memory location.
|
||||
if ((Mask & Mod) && AA->pointsToConstantMemory(P))
|
||||
Mask = Ref;
|
||||
Mask = ModRefResult(Mask & ~Mod);
|
||||
|
||||
return ModRefResult(Mask & AA->getModRefInfo(CS, P, Size));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user