diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-08-14 02:16:12 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-08-14 02:16:12 +0000 |
| commit | f4616a4084e81b00ae8271360624e7c0b6f59bdc (patch) | |
| tree | 42c883d60f475d4b63accc0e17658b4e33c0f736 /llvm | |
| parent | 1b179e1102210c2a93778874b975b8737c7ea6d2 (diff) | |
| download | bcm5719-llvm-f4616a4084e81b00ae8271360624e7c0b6f59bdc.tar.gz bcm5719-llvm-f4616a4084e81b00ae8271360624e7c0b6f59bdc.zip | |
[PM/AA] Delete two pointlessly overridden methods on the AA interface by
the AA counter pass.
For pointsToConstantMemory, I think this is a "bug fix" as I think the
code as written will actually infloop if ever reached. For the
getModRefInfo, this is a no-op change but with a significantly simpler
form.
llvm-svn: 245007
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Analysis/AliasAnalysisCounter.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/include/llvm/Analysis/AliasAnalysisCounter.h b/llvm/include/llvm/Analysis/AliasAnalysisCounter.h index 68c9069fd42..8a7621ffab9 100644 --- a/llvm/include/llvm/Analysis/AliasAnalysisCounter.h +++ b/llvm/include/llvm/Analysis/AliasAnalysisCounter.h @@ -43,12 +43,6 @@ public: /// specified pass info. void *getAdjustedAnalysisPointer(AnalysisID PI) override; - // FIXME: We could count these too... - bool pointsToConstantMemory(const MemoryLocation &Loc, - bool OrLocal) override { - return getAnalysis<AliasAnalysis>().pointsToConstantMemory(Loc, OrLocal); - } - // Forwarding functions: just delegate to a real AA implementation, counting // the number of responses... AliasResult alias(const MemoryLocation &LocA, @@ -56,10 +50,6 @@ public: ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc) override; - ModRefInfo getModRefInfo(ImmutableCallSite CS1, - ImmutableCallSite CS2) override { - return AliasAnalysis::getModRefInfo(CS1, CS2); - } }; //===--------------------------------------------------------------------===// |

