diff options
| author | Alex Zinenko <zinenko@google.com> | 2019-07-16 06:27:11 -0700 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2019-07-16 13:45:22 -0700 |
| commit | 0ede23010f1ef351715ea5e8e713a91a1b3eb792 (patch) | |
| tree | e9f5a080e462dc73126422041f50b2eb750ffdc2 /mlir/lib/Dialect/LoopOps | |
| parent | 6760ea53386a9515f464dd4d6e270e5620601d22 (diff) | |
| download | bcm5719-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.txt | 2 |
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) |

