aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/Analysis.cpp
diff options
context:
space:
mode:
authorpvanhout <pierre.vanhoutryve@amd.com>2023-04-12 13:28:45 +0200
committerpvanhout <pierre.vanhoutryve@amd.com>2023-04-17 09:01:22 +0200
commitae77aceba5ad6ee575d3d79eb0259624322b19f4 (patch)
tree84a82515a9855ebee7b827347c24c8b1c91b4767 /llvm/lib/Analysis/Analysis.cpp
parent8b1e81f03c0413ce25081dc5cd6b9e00376e7ddb (diff)
downloadllvm-ae77aceba5ad6ee575d3d79eb0259624322b19f4.zip
llvm-ae77aceba5ad6ee575d3d79eb0259624322b19f4.tar.gz
llvm-ae77aceba5ad6ee575d3d79eb0259624322b19f4.tar.bz2
[Analysis] Remove DA & LegacyDA
UniformityAnalysis offers all of the same features and much more, there is no reason left to use the legacy DAs. See RFC: https://discourse.llvm.org/t/rfc-deprecate-divergenceanalysis-legacydivergenceanalysis/69538 - Remove LegacyDivergenceAnalysis.h/.cpp - Remove DivergenceAnalysis.h/.cpp + Unit tests - Remove SyncDependenceAnalysis - it was not a real registered analysis and was only used by DAs - Remove/adjust references to the passes in the docs where applicable - Remove TTI hook associated with those passes. - Move tests to UniformityAnalysis folder. - Remove RUN lines for the DA, leave only the UA ones. - Some tests had to be adjusted/removed depending on how they used the legacy DAs. Reviewed By: foad, sameerds Differential Revision: https://reviews.llvm.org/D148116
Diffstat (limited to 'llvm/lib/Analysis/Analysis.cpp')
-rw-r--r--llvm/lib/Analysis/Analysis.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/Analysis.cpp b/llvm/lib/Analysis/Analysis.cpp
index 9a9d268..adb81ec 100644
--- a/llvm/lib/Analysis/Analysis.cpp
+++ b/llvm/lib/Analysis/Analysis.cpp
@@ -53,7 +53,6 @@ void llvm::initializeAnalysis(PassRegistry &Registry) {
initializeLazyBlockFrequencyInfoPassPass(Registry);
initializeLazyValueInfoWrapperPassPass(Registry);
initializeLazyValueInfoPrinterPass(Registry);
- initializeLegacyDivergenceAnalysisPass(Registry);
initializeLintLegacyPassPass(Registry);
initializeLoopInfoWrapperPassPass(Registry);
initializeMemDepPrinterPass(Registry);