[Mlir-commits] [mlir] 5e5937d - [mlir][func] Remove unnecessary link dependencies for MLIRFuncTransforms
Jakub Kuderski
llvmlistbot at llvm.org
Thu Sep 8 14:37:17 PDT 2022
Author: Jakub Kuderski
Date: 2022-09-08T17:35:22-04:00
New Revision: 5e5937d0574547eb3e39fe9d920b968856a3b4e8
URL: https://github.com/llvm/llvm-project/commit/5e5937d0574547eb3e39fe9d920b968856a3b4e8
DIFF: https://github.com/llvm/llvm-project/commit/5e5937d0574547eb3e39fe9d920b968856a3b4e8.diff
LOG: [mlir][func] Remove unnecessary link dependencies for MLIRFuncTransforms
This is so that FuncTransforms can be used by other dialects without introducing cyclic dependencies.
Tested by building with `BUILD_SHARED_LIBS=ON`
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D133527
Added:
Modified:
mlir/lib/Dialect/Func/Transforms/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Func/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Func/Transforms/CMakeLists.txt
index acc52e476fa41..5de2fb8bbe9f2 100644
--- a/mlir/lib/Dialect/Func/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Func/Transforms/CMakeLists.txt
@@ -10,14 +10,11 @@ add_mlir_dialect_library(MLIRFuncTransforms
MLIRFuncTransformsIncGen
LINK_LIBS PUBLIC
- MLIRAffineDialect
- MLIRArithmeticTransforms
MLIRBufferizationDialect
MLIRBufferizationTransforms
MLIRFuncDialect
MLIRIR
MLIRMemRefDialect
MLIRPass
- MLIRSCFDialect
MLIRTransforms
)
More information about the Mlir-commits
mailing list