summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/LoopOps
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-07-16 06:27:11 -0700
committerMehdi Amini <joker.eph@gmail.com>2019-07-16 13:45:22 -0700
commit0ede23010f1ef351715ea5e8e713a91a1b3eb792 (patch)
treee9f5a080e462dc73126422041f50b2eb750ffdc2 /mlir/lib/Dialect/LoopOps
parent6760ea53386a9515f464dd4d6e270e5620601d22 (diff)
downloadbcm5719-llvm-0ede23010f1ef351715ea5e8e713a91a1b3eb792.tar.gz
bcm5719-llvm-0ede23010f1ef351715ea5e8e713a91a1b3eb792.zip
Fix build by making LoopOps depend on StandardOps
LoopOps needs the definition ConstantIndexOp in the verifier of loop::ForOp. PiperOrigin-RevId: 258355329
Diffstat (limited to 'mlir/lib/Dialect/LoopOps')
-rw-r--r--mlir/lib/Dialect/LoopOps/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/LoopOps/CMakeLists.txt b/mlir/lib/Dialect/LoopOps/CMakeLists.txt
index 0756ea87f7f..ce4a6668900 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)
OpenPOWER on IntegriCloud