From 0ede23010f1ef351715ea5e8e713a91a1b3eb792 Mon Sep 17 00:00:00 2001 From: Alex Zinenko Date: Tue, 16 Jul 2019 06:27:11 -0700 Subject: [PATCH] Fix build by making LoopOps depend on StandardOps LoopOps needs the definition ConstantIndexOp in the verifier of loop::ForOp. PiperOrigin-RevId: 258355329 --- mlir/lib/Dialect/LoopOps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Dialect/LoopOps/CMakeLists.txt b/mlir/lib/Dialect/LoopOps/CMakeLists.txt index 0756ea8..ce4a666 100644 --- a/mlir/lib/Dialect/LoopOps/CMakeLists.txt +++ b/mlir/lib/Dialect/LoopOps/CMakeLists.txt @@ -5,5 +5,5 @@ add_llvm_library(MLIRLoopOps ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/LoopOps ) -add_dependencies(MLIRLoopOps MLIRLoopOpsIncGen LLVMSupport) +add_dependencies(MLIRLoopOps MLIRLoopOpsIncGen MLIRStandardOps LLVMSupport) target_link_libraries(MLIRLoopOps LLVMSupport) -- 2.7.4