[PATCH] D73655: [MLIR] Break cyclic dependencies with MLIRAnalysis
Stephen Neuendorffer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 11:33:13 PST 2020
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7b7e5058136b: [MLIR] Break cyclic dependencies with MLIRAnalysis (authored by stephenneuendorffer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73655/new/
https://reviews.llvm.org/D73655
Files:
mlir/lib/Analysis/CMakeLists.txt
mlir/lib/Dialect/VectorOps/CMakeLists.txt
mlir/lib/Transforms/Utils/CMakeLists.txt
Index: mlir/lib/Transforms/Utils/CMakeLists.txt
===================================================================
--- mlir/lib/Transforms/Utils/CMakeLists.txt
+++ mlir/lib/Transforms/Utils/CMakeLists.txt
@@ -15,6 +15,7 @@
target_link_libraries(MLIRTransformUtils
MLIRAffineOps
MLIRAnalysis
+ MLIRLoopAnalysis
MLIRLoopOps
MLIRPass
MLIRStandardOps
Index: mlir/lib/Dialect/VectorOps/CMakeLists.txt
===================================================================
--- mlir/lib/Dialect/VectorOps/CMakeLists.txt
+++ mlir/lib/Dialect/VectorOps/CMakeLists.txt
@@ -11,4 +11,4 @@
add_dependencies(MLIRVectorOps MLIRVectorOpsIncGen)
add_dependencies(MLIRVectorOps MLIRVectorTransformPatternsIncGen)
-target_link_libraries(MLIRVectorOps MLIRAnalysis MLIRIR MLIRStandardOps MLIRAffineOps MLIRLoopOps)
+target_link_libraries(MLIRVectorOps MLIRIR MLIRStandardOps MLIRAffineOps MLIRLoopOps MLIRLoopAnalysis)
Index: mlir/lib/Analysis/CMakeLists.txt
===================================================================
--- mlir/lib/Analysis/CMakeLists.txt
+++ mlir/lib/Analysis/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_library(MLIRAnalysis STATIC
+set(LLVM_OPTIONAL_SOURCES
AffineAnalysis.cpp
AffineStructures.cpp
CallGraph.cpp
@@ -10,6 +10,15 @@
SliceAnalysis.cpp
Utils.cpp
Verifier.cpp
+ )
+
+add_llvm_library(MLIRAnalysis
+ CallGraph.cpp
+ InferTypeOpInterface.cpp
+ Liveness.cpp
+ SliceAnalysis.cpp
+ Dominance.cpp
+ Verifier.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
@@ -20,4 +29,24 @@
MLIRTypeInferOpInterfaceIncGen
MLIRLoopOps
)
+
target_link_libraries(MLIRAnalysis MLIRAffineOps MLIRLoopOps)
+
+add_llvm_library(MLIRLoopAnalysis
+ AffineAnalysis.cpp
+ AffineStructures.cpp
+ LoopAnalysis.cpp
+ NestedMatcher.cpp
+ Utils.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
+ )
+add_dependencies(MLIRLoopAnalysis
+ MLIRAffineOps
+ MLIRCallOpInterfacesIncGen
+ MLIRTypeInferOpInterfaceIncGen
+ MLIRLoopOps
+ )
+
+target_link_libraries(MLIRLoopAnalysis MLIRAffineOps MLIRLoopOps)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73655.242711.patch
Type: text/x-patch
Size: 2091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/98aee15e/attachment.bin>
More information about the llvm-commits
mailing list