[llvm] [LLVM][MDL] First integration of MDL with LLVM (PR #78002)
Aart Bik via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 17:01:59 PST 2024
================
@@ -0,0 +1,64 @@
+
+# MDL: A Micro-Architecture Description Language for LLVM
+
+November 2022 Reid Tatge [tatge at google.com](mailto:tatge at google.com)
+
+Updated January 2024
+
+
+## **TL;DR:**
+
+We’ve created a DSL and compiler for modeling micro-architecture that handles a very broad class of architectures - CPUs, GPUs, VLIWs, DSPs, ML accelerators, and embedded devices. This effort grew out of a need to quickly develop and experiment with high-quality compilers and tools to facilitate rapid architecture exploration. We named the DSL “MDL” for “Microarchitecture Description Language”.
+
+While being significantly more expressive than TableGen’s Schedules and Itineraries used in LLVM, MDL is also more concise, and simpler to read and write while supporting a much broader class of embedded and accelerator architectures. We currently can automatically _generate _MDL descriptions for all upstream targets which are in many cases 1/10 the size of the equivalent TableGen descriptions. We’ve integrated this with LLVM, and are sending out this RFC because we believe it could be valuable to the larger LLVM community. \
----------------
aartbik wrote:
Remove the _ near generate and MDL or at least move the _ closer to generate if you wanted to emphasize just generate. Right now it does not format properly.
Also remove \ at end of paragraph
https://github.com/llvm/llvm-project/pull/78002
More information about the llvm-commits
mailing list