mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Remove PointerAccessInfo, which nothing was using.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -113,20 +113,18 @@ AliasAnalysis::getModRefInfo(const StoreInst *S, const Value *P, unsigned Size)
|
||||
}
|
||||
|
||||
AliasAnalysis::ModRefBehavior
|
||||
AliasAnalysis::getModRefBehavior(ImmutableCallSite CS,
|
||||
std::vector<PointerAccessInfo> *Info) {
|
||||
AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) {
|
||||
if (CS.doesNotAccessMemory())
|
||||
// Can't do better than this.
|
||||
return DoesNotAccessMemory;
|
||||
ModRefBehavior MRB = getModRefBehavior(CS.getCalledFunction(), Info);
|
||||
ModRefBehavior MRB = getModRefBehavior(CS.getCalledFunction());
|
||||
if (MRB != DoesNotAccessMemory && CS.onlyReadsMemory())
|
||||
return OnlyReadsMemory;
|
||||
return MRB;
|
||||
}
|
||||
|
||||
AliasAnalysis::ModRefBehavior
|
||||
AliasAnalysis::getModRefBehavior(const Function *F,
|
||||
std::vector<PointerAccessInfo> *Info) {
|
||||
AliasAnalysis::getModRefBehavior(const Function *F) {
|
||||
if (F) {
|
||||
if (F->doesNotAccessMemory())
|
||||
// Can't do better than this.
|
||||
|
||||
Reference in New Issue
Block a user