[MLIR] Move from add_dependencies() to DEPENDS

add_llvm_library and add_llvm_executable may need to create new targets with
appropriate dependencies.  As a result, it is not sufficient in some
configurations (namely LLVM_BUILD_LLVM_DYLIB=on) to only call
add_dependencies().  Instead, the explicit TableGen dependencies must
be passed to add_llvm_library() or add_llvm_executable() using the DEPENDS
keyword.

Differential Revision: https://reviews.llvm.org/D74930

GitOrigin-RevId: 8a2b86b2c20a50f4a32931ae311b8e2457e591eb
29 files changed
tree: 52b55b5aee3600622e9b6c105a337d4f64b7b23c
  1. cmake/
  2. docs/
  3. examples/
  4. include/
  5. lib/
  6. test/
  7. tools/
  8. unittests/
  9. utils/
  10. .clang-format
  11. .clang-tidy
  12. CMakeLists.txt
  13. LICENSE.TXT
  14. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.