forked from OSchip/llvm-project
Remove unused MLIRContext member from MutableAffineMap class (NFC)
Fix clang warning -- PiperOrigin-RevId: 247558650
This commit is contained in:
parent
52d0dbbd2a
commit
e0949c9cdb
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue