[llvm] 6545fdc - [Analysis] Remove isJoinDivergent (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 18:23:37 PDT 2021
Author: Kazu Hirata
Date: 2021-07-16T18:23:17-07:00
New Revision: 6545fdc6d73f3531c020f9655e0e92eae2d55f3b
URL: https://github.com/llvm/llvm-project/commit/6545fdc6d73f3531c020f9655e0e92eae2d55f3b
DIFF: https://github.com/llvm/llvm-project/commit/6545fdc6d73f3531c020f9655e0e92eae2d55f3b.diff
LOG: [Analysis] Remove isJoinDivergent (NFC)
The last use was removed on Sep 30, 2020 in commit
05ae04c396519cca9ef50d3b9cafb0cd9c87d1d7.
Added:
Modified:
llvm/include/llvm/Analysis/DivergenceAnalysis.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/DivergenceAnalysis.h b/llvm/include/llvm/Analysis/DivergenceAnalysis.h
index 0b36ef35aa59..6f759a81fdef 100644
--- a/llvm/include/llvm/Analysis/DivergenceAnalysis.h
+++ b/llvm/include/llvm/Analysis/DivergenceAnalysis.h
@@ -112,13 +112,6 @@ class DivergenceAnalysisImpl {
bool isTemporalDivergent(const BasicBlock &ObservingBlock,
const Value &Val) const;
- /// \brief Whether \p Block is join divergent
- ///
- /// (see markBlockJoinDivergent).
- bool isJoinDivergent(const BasicBlock &Block) const {
- return DivergentJoinBlocks.contains(&Block);
- }
-
private:
const Function &F;
// If regionLoop != nullptr, analysis is only performed within \p RegionLoop.
@@ -140,9 +133,6 @@ class DivergenceAnalysisImpl {
// Set of known-uniform values.
DenseSet<const Value *> UniformOverrides;
- // Blocks with joining divergent control from
diff erent predecessors.
- DenseSet<const BasicBlock *> DivergentJoinBlocks; // FIXME Deprecated
-
// Detected/marked divergent values.
DenseSet<const Value *> DivergentValues;
More information about the llvm-commits
mailing list