aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ADT/GenericUniformityImpl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h
index 3b9b7f2..141816c3 100644
--- a/llvm/include/llvm/ADT/GenericUniformityImpl.h
+++ b/llvm/include/llvm/ADT/GenericUniformityImpl.h
@@ -310,7 +310,7 @@ public:
const DivergenceDescriptor &getJoinBlocks(const BlockT *DivTermBlock);
private:
- static DivergenceDescriptor EmptyDivergenceDesc;
+ static inline DivergenceDescriptor EmptyDivergenceDesc;
ModifiedPO CyclePO;
@@ -742,10 +742,6 @@ public:
};
template <typename ContextT>
-typename llvm::GenericSyncDependenceAnalysis<ContextT>::DivergenceDescriptor
- llvm::GenericSyncDependenceAnalysis<ContextT>::EmptyDivergenceDesc;
-
-template <typename ContextT>
llvm::GenericSyncDependenceAnalysis<ContextT>::GenericSyncDependenceAnalysis(
const ContextT &Context, const DominatorTreeT &DT, const CycleInfoT &CI)
: CyclePO(Context), DT(DT), CI(CI) {