llvm-project/mlir
Jeff Niu 7691b69d5b [mlir][cmake] Don't add dependencies on mlir-(generic-)headers
Every dialect was dependent on `mlir-headers`, which was causing the
build of any single MLIR dialect to pull in a bunch of extra
dependencies that aren't needed. Now, MLIR dialects will need to
explicitly depend on `MLIR*IncGen` targets to pull in any needed
headers.

This does not impact the actual `mlir-header` target.

Consider the "simple" Arithmetic dialect. Before:

```
% ninja MLIRArithmeticDialect
[151/812] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/JSONBackend.cpp.o
```

After:

```
% ninja MLIRArithmeticDialect
[207/374] Building CXX object tools/mlir/lib/TableGen/CMakeFiles/MLIRTableGen.dir/GenInfo.cpp.o
```

(Both clean builds)

Reviewed By: rriddle, jpienaar

Differential Revision: https://reviews.llvm.org/D133132
2022-09-02 12:13:49 -07:00
..
benchmark/python [NFC] Remove obsolete all_passes_registration from integration tests. 2022-07-16 18:18:43 -07:00
cmake/modules [mlir][cmake] Don't add dependencies on mlir-(generic-)headers 2022-09-02 12:13:49 -07:00
docs [mlir] materialize strided memref layout as attribute 2022-08-30 17:19:58 +02:00
examples [MLIR] Remove unused config attributes from lit.site.cfg.py 2022-09-02 11:05:39 +02:00
include [mlir][ods] Add ArrayOfAttr for creating custom array attributes 2022-09-02 11:12:58 -07:00
lib [mlir][cmake] Don't add dependencies on mlir-(generic-)headers 2022-09-02 12:13:49 -07:00
python [mlir][linalg][python] Add named constructor for MatchOp 2022-08-15 14:41:28 +02:00
test [mlir][sparse] extend codegen test cases with an additional step after storage expansion 2022-09-02 18:34:15 +00:00
tools [MLIR] Keep but deprecate old autogenerated pass base classes 2022-08-31 23:39:01 +02:00
unittests Revert "[MLIR] Update pass declarations to new autogenerated files" 2022-08-30 22:21:55 +02:00
utils [mlir][spirv] Migrate to use specalized enum attributes 2022-08-09 14:14:54 -04:00
.clang-format [mlir] Add missing newline at end of .clang-format file 2022-06-14 23:59:00 -07:00
.clang-tidy [mlir] Disable `misc-const-correctness` clang-tidy check. 2022-08-03 10:18:43 +02:00
CMakeLists.txt Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

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