Skip to content

Commit 5ad7cc7

Browse files
committed
Fix unused variable (introduced in
c248219)
1 parent 7a355e9 commit 5ad7cc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ static void genDenseTensorIterationLoop(
653653
RankedTensorType tensorTp,
654654
function_ref<void(OpBuilder &, Location, ValueRange)> bodyBuilder) {
655655
auto enc = getSparseTensorEncoding(tensorTp);
656+
(void) enc;
656657
assert(!enc && "Generating Densor Tensor Loop on a Sparse Tensor!");
657658

658659
unsigned rank = tensorTp.getRank();

0 commit comments

Comments
 (0)