论文标题
MLIR:摩尔法律终结的编译器基础设施
MLIR: A Compiler Infrastructure for the End of Moore's Law
论文作者
论文摘要
这项工作提出了MLIR,这是一种构建可重复使用且可扩展的编译器基础架构的新型方法。 MLIR旨在解决软件碎片化,改进异质硬件的编译,大大降低建筑域特定编译器的成本,并有助于将现有编译器连接在一起。 MLIR促进了不同级别的抽象层面以及应用程序域,硬件目标和执行环境的代码生成器,翻译器和优化器的设计和实现。这项工作的贡献包括(1)将MLIR作为研究文物的讨论,用于扩展和进化,并确定这个新颖的设计,语义,优化规范,系统和工程的新颖设计点所带来的挑战和机遇。 (2)评估MLIR作为广义基础架构,可降低构建编译器的成本,描述各种用例,以显示未来编程语言,编译器,执行环境和计算机体系结构的研究和教育机会。该论文还介绍了MLIR的原理,其原始设计原理,结构和语义。
This work presents MLIR, a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together. MLIR facilitates the design and implementation of code generators, translators and optimizers at different levels of abstraction and also across application domains, hardware targets and execution environments. The contribution of this work includes (1) discussion of MLIR as a research artifact, built for extension and evolution, and identifying the challenges and opportunities posed by this novel design point in design, semantics, optimization specification, system, and engineering. (2) evaluation of MLIR as a generalized infrastructure that reduces the cost of building compilers-describing diverse use-cases to show research and educational opportunities for future programming languages, compilers, execution environments, and computer architecture. The paper also presents the rationale for MLIR, its original design principles, structures and semantics.