[mlir][sparse] Remove the expansion of symmetric MTX in the sparse tensor storage.
We will support symmetric MTX without expanding the data in the sparse tensor storage. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D144059
This commit is contained in:
@@ -651,12 +651,6 @@ static LogicalResult verifySparsifierGetterSetter(
|
||||
return success();
|
||||
}
|
||||
|
||||
LogicalResult NewOp::verify() {
|
||||
if (getExpandSymmetry() && getDimRank(getResult()) != 2)
|
||||
return emitOpError("expand_symmetry can only be used for 2D tensors");
|
||||
return success();
|
||||
}
|
||||
|
||||
static LogicalResult verifyPackUnPack(Operation *op, TensorType cooTp,
|
||||
TensorType dataTp, TensorType idxTp) {
|
||||
if (!isUniqueCOOType(cooTp))
|
||||
|
||||
Reference in New Issue
Block a user