diff options
author | Hal Finkel <hfinkel@anl.gov> | 2016-12-15 03:02:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2016-12-15 03:02:15 +0000 |
commit | 3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877 (patch) | |
tree | 4594d31d24d9535dd4f5198505a25dd88c0f8fb5 /llvm/unittests/Analysis/AliasAnalysisTest.cpp | |
parent | cb9f78e1c3951337de4ba24902eced2c72184319 (diff) | |
download | bcm5719-llvm-3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877.tar.gz bcm5719-llvm-3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877.zip |
Remove the AssumptionCache
After r289755, the AssumptionCache is no longer needed. Variables affected by
assumptions are now found by using the new operand-bundle-based scheme. This
new scheme is more computationally efficient, and also we need much less
code...
llvm-svn: 289756
Diffstat (limited to 'llvm/unittests/Analysis/AliasAnalysisTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/AliasAnalysisTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/unittests/Analysis/AliasAnalysisTest.cpp b/llvm/unittests/Analysis/AliasAnalysisTest.cpp index 84a04257bc2..7305abf7afe 100644 --- a/llvm/unittests/Analysis/AliasAnalysisTest.cpp +++ b/llvm/unittests/Analysis/AliasAnalysisTest.cpp @@ -9,7 +9,6 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/ADT/SetVector.h" -#include "llvm/Analysis/AssumptionCache.h" #include "llvm/Analysis/BasicAliasAnalysis.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/AsmParser/Parser.h" @@ -144,7 +143,6 @@ protected: Module M; TargetLibraryInfoImpl TLII; TargetLibraryInfo TLI; - std::unique_ptr<AssumptionCache> AC; std::unique_ptr<BasicAAResult> BAR; std::unique_ptr<AAResults> AAR; @@ -155,8 +153,7 @@ protected: AAR.reset(new AAResults(TLI)); // Build the various AA results and register them. - AC.reset(new AssumptionCache(F)); - BAR.reset(new BasicAAResult(M.getDataLayout(), TLI, *AC)); + BAR.reset(new BasicAAResult(M.getDataLayout(), TLI)); AAR->addAAResult(*BAR); return *AAR; |