[Mlir-commits] [mlir] 2cd468e - Add default copy and move c'tor/assignment to PresburgerRelation.
Christian Sigg
llvmlistbot at llvm.org
Wed Jun 29 03:08:04 PDT 2022
Author: Christian Sigg
Date: 2022-06-29T12:07:55+02:00
New Revision: 2cd468ef1561e9f4c888e5dde821f86e427a75a1
URL: https://github.com/llvm/llvm-project/commit/2cd468ef1561e9f4c888e5dde821f86e427a75a1
DIFF: https://github.com/llvm/llvm-project/commit/2cd468ef1561e9f4c888e5dde821f86e427a75a1.diff
LOG: Add default copy and move c'tor/assignment to PresburgerRelation.
Differential Revision: https://reviews.llvm.org/D128789
Added:
Modified:
mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h b/mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
index 8b4a4fe82e0fc..ee00d479e8426 100644
--- a/mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
+++ b/mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
@@ -44,6 +44,11 @@ class PresburgerRelation {
explicit PresburgerRelation(const IntegerRelation &disjunct);
+ PresburgerRelation(const PresburgerRelation &) = default;
+ PresburgerRelation(PresburgerRelation &&) = default;
+ PresburgerRelation &operator=(const PresburgerRelation &) = default;
+ PresburgerRelation &operator=(PresburgerRelation &&) = default;
+
unsigned getNumDomainVars() const { return space.getNumDomainVars(); }
unsigned getNumRangeVars() const { return space.getNumRangeVars(); }
unsigned getNumSymbolVars() const { return space.getNumSymbolVars(); }
More information about the Mlir-commits
mailing list