Remove unused MLIRContext member from MutableAffineMap class (NFC)

Fix clang warning

--

PiperOrigin-RevId: 247558650
This commit is contained in:
Mehdi Amini 2019-05-09 23:04:46 -07:00 committed by Mehdi Amini
parent 52d0dbbd2a
commit e0949c9cdb
2 changed files with 2 additions and 6 deletions

View File

@ -104,9 +104,6 @@ private:
SmallVector<AffineExpr, 8> constraints;
SmallVector<bool, 8> eqFlags;
/// A pointer to the IR's context to store all newly created
/// AffineExprStorage's.
MLIRContext *context;
};
/// An AffineValueMap is an affine map plus its ML value operands and

View File

@ -198,15 +198,14 @@ AffineMap MutableAffineMap::getAffineMap() const {
}
MutableIntegerSet::MutableIntegerSet(IntegerSet set, MLIRContext *context)
: numDims(set.getNumDims()), numSymbols(set.getNumSymbols()),
context(context) {
: numDims(set.getNumDims()), numSymbols(set.getNumSymbols()) {
// TODO(bondhugula)
}
// Universal set.
MutableIntegerSet::MutableIntegerSet(unsigned numDims, unsigned numSymbols,
MLIRContext *context)
: numDims(numDims), numSymbols(numSymbols), context(context) {}
: numDims(numDims), numSymbols(numSymbols) {}
//===----------------------------------------------------------------------===//
// AffineValueMap.