mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Update comments; BasicAA is no longer necessarily the end of the chain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,7 +94,7 @@ AliasAnalysis::getModRefInfo(ImmutableCallSite CS,
|
|||||||
if ((Mask & Mod) && pointsToConstantMemory(Loc))
|
if ((Mask & Mod) && pointsToConstantMemory(Loc))
|
||||||
Mask = ModRefResult(Mask & ~Mod);
|
Mask = ModRefResult(Mask & ~Mod);
|
||||||
|
|
||||||
// If this is BasicAA, don't forward.
|
// If this is the end of the chain, don't forward.
|
||||||
if (!AA) return Mask;
|
if (!AA) return Mask;
|
||||||
|
|
||||||
// Otherwise, fall back to the next AA in the chain. But we can merge
|
// Otherwise, fall back to the next AA in the chain. But we can merge
|
||||||
@@ -152,7 +152,7 @@ AliasAnalysis::getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2) {
|
|||||||
return R;
|
return R;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this is BasicAA, don't forward.
|
// If this is the end of the chain, don't forward.
|
||||||
if (!AA) return Mask;
|
if (!AA) return Mask;
|
||||||
|
|
||||||
// Otherwise, fall back to the next AA in the chain. But we can merge
|
// Otherwise, fall back to the next AA in the chain. But we can merge
|
||||||
@@ -171,7 +171,7 @@ AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) {
|
|||||||
if (const Function *F = CS.getCalledFunction())
|
if (const Function *F = CS.getCalledFunction())
|
||||||
Min = getModRefBehavior(F);
|
Min = getModRefBehavior(F);
|
||||||
|
|
||||||
// If this is BasicAA, don't forward.
|
// If this is the end of the chain, don't forward.
|
||||||
if (!AA) return Min;
|
if (!AA) return Min;
|
||||||
|
|
||||||
// Otherwise, fall back to the next AA in the chain. But we can merge
|
// Otherwise, fall back to the next AA in the chain. But we can merge
|
||||||
|
Reference in New Issue
Block a user