[Mlir-commits] [mlir] 10bcfee - [mlir] Remove unused using (NFC)

Kazu Hirata llvmlistbot at llvm.org
Sun Jul 17 18:09:05 PDT 2022


Author: Kazu Hirata
Date: 2022-07-17T18:08:48-07:00
New Revision: 10bcfeebfad588147f8e2248375f64c91e9dc16f

URL: https://github.com/llvm/llvm-project/commit/10bcfeebfad588147f8e2248375f64c91e9dc16f
DIFF: https://github.com/llvm/llvm-project/commit/10bcfeebfad588147f8e2248375f64c91e9dc16f.diff

LOG: [mlir] Remove unused using (NFC)

Identified with misc-unused-using-decls.

Added: 
    

Modified: 
    mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp b/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
index 11a9265a12b7..9459640dad02 100644
--- a/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
@@ -919,8 +919,6 @@ struct YieldOpInterface
   }
 };
 
-using tensor::ExtractSliceOp;
-
 /// Return the destinations that an ForeachThreadOp is inserting into. One per
 /// ParallelInsertSliceOp.
 static SmallVector<OpOperand *>

diff  --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
index 1fad15dfb00b..5c8696332673 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
@@ -31,8 +31,6 @@
 
 using namespace mlir;
 using namespace mlir::sparse_tensor;
-using mlir::bufferization::BufferizableOpInterface;
-using mlir::bufferization::BufferizationDialect;
 
 namespace {
 


        


More information about the Mlir-commits mailing list