3 ms·
It's not entirely doubled down on. There is work on IRDL, a domain-specific language for dialect definitions, and PDL, a language for pattern definitions. In th
by j2kun 3y ago
It's not entirely doubled down on. There is work on IRDL, a domain-specific language for dialect definitions, and PDL, a language for pattern definitions. In theory, those could replace tablegen one day. I haven't looked into either too deeply, though.
- fooker 3y agoThese are research projects you don't want to touch for anything other than publishing papers until they are adopted by $BIGCO and has ~5 man years of engineering effort.
- j2kun 3y agoThey are upstreamed in LLVM and work today, though they are feature incomplete. From what I understand, the main reason you shouldn't use them is that development is stalled because the people who were working on them went to work at Modular.
- fooker 3y agoThey don't work today, give it a try. The core dialects are upstreamed so that people don't reinvent them, but all tools to utilize any of it aren't. Some of it isn't even open source. For example, nothing else in MLIR uses PDL right now.