- Registers a small set of sample dialects.
- NFC with respect to existing C-API symbols but some headers have been moved down a level to the Dialect/ sub-directory.
- Adds an additional entry point per dialect that is needed for dynamic discovery/loading.
- See discussion: https://llvm.discourse.group/t/dialects-and-the-c-api/2306/16
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It is great to see a unified approach to dialects, this will make further improvements much easier. Thanks, Stella!
mlir/include/mlir-c/Dialect/Linalg.h | ||
---|---|---|
26 | Why isn't this all TableGen generated? |
mlir/include/mlir-c/Dialect/Linalg.h | ||
---|---|---|
26 | Because once George and I wrote it, we felt that tablegen would add a lot of complexity and opacity for no benefit. |
Why isn't this all TableGen generated?