A lot of dialects have dependencies that are unnecessary, either because of copy/paste of files when creating things or some other means. This commit cleans up a bunch of the simple ones: * Copy/Paste or missed during refactoring Most of the dependencies cleaned up here look like copy/paste errors when creating new dialects/transformations, or because the dependency wasn't removed during a refactoring (e.g. when splitting the standard dialect). * Unnecessary hard coding of constant operations in matchers There are a few instances where a dialect had a dependency because it was hardcoding checks for constant operations instead of using the better m_Constant approach. Differential Revision: https://reviews.llvm.org/D118062
16 lines
280 B
CMake
16 lines
280 B
CMake
add_mlir_dialect_library(MLIRSparseTensor
|
|
SparseTensorDialect.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SparseTensor
|
|
|
|
DEPENDS
|
|
MLIRSparseTensorAttrDefsIncGen
|
|
MLIRSparseTensorOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRDialect
|
|
MLIRIR
|
|
MLIRSupport
|
|
)
|