[mlir][sparse] layout fixes (NFC)
authorAart Bik <ajcbik@google.com>
Thu, 29 Dec 2022 18:55:01 +0000 (10:55 -0800)
committerAart Bik <ajcbik@google.com>
Thu, 29 Dec 2022 20:30:02 +0000 (12:30 -0800)
Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D140761

mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
mlir/lib/Dialect/SparseTensor/Transforms/SparseVectorization.cpp

index fc4ab2c..fc4c5d8 100644 (file)
@@ -5,6 +5,7 @@
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
+
 #ifndef SPARSETENSOR_TYPES
 #define SPARSETENSOR_TYPES
 
index c27502e..4b92540 100644 (file)
@@ -398,7 +398,8 @@ static bool vectorizeExpr(PatternRewriter &rewriter, scf::ForOp forOp, VL vl,
         vexp = rewriter.create<arith::AddIOp>(loc, veci, incr);
       }
       return true;
-    } // An invariant or reduction. In both cases, we treat this as an
+    }
+    // An invariant or reduction. In both cases, we treat this as an
     // invariant value, and rely on later replacing and folding to
     // construct a proper reduction chain for the latter case.
     if (codegen)