[MLIR] NFC Fix vector transforms build warnings
authorUday Bondhugula <uday@polymagelabs.com>
Wed, 10 Feb 2021 05:12:20 +0000 (10:42 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Wed, 10 Feb 2021 05:12:56 +0000 (10:42 +0530)
Fix build warnings from VectorTransforms.cpp.

mlir/lib/Dialect/Vector/VectorTransforms.cpp

index 765eb08..a6cb0a9 100644 (file)
@@ -44,7 +44,6 @@
 #define DEBUG_TYPE "vector-to-vector"
 
 using namespace mlir;
-using llvm::dbgs;
 
 // Helper to find an index in an affine map.
 static Optional<int64_t> getResultIndex(AffineMap map, int64_t index) {
@@ -2792,7 +2791,7 @@ static SmallVector<int64_t, 4> getIntValueVector(ArrayAttr arrayAttr) {
   return llvm::to_vector<4>(
       llvm::map_range(arrayAttr.getAsRange<IntegerAttr>(),
                       [](IntegerAttr attr) { return attr.getInt(); }));
-};
+}
 
 // Shuffles vector.bitcast op after vector.extract op.
 //