MLIR: Scaling Compiler Infrastructure for Domain Specific Computation
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
This work presents MLIR, a novel approach to building reusable and extensible compiler infrastructure. MLIR addresses software fragmentation, compilation for heterogeneous hardware, significantly reducing the cost of building domain specific compilers, and connecting existing compilers together. MLIR facilitates the design and implementation of code generators, translators and optimizers at different levels of abstraction and 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, while identifying the challenges and opportunities posed by this novel 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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
LLVM: A compilation framework for lifelong program analysis & transformation
Lattner, C., & Adve, V. (2004) · International Symposium on Code Generation and Optimization, 2004. CGO 2004. · doi:10.1109/cgo.2004.1281665 · Cited by 2,681
Self-citationEfficiently computing static single assignment form and the control dependence graph
Cytron, R., Ferrante, J., Rosen, B. K., Wegman, M. N., & Zadeck, F. K. (1991) · ACM Transactions on Programming Languages and Systems · doi:10.1145/115372.115320 · Cited by 2,267
TVM: an automated end-to-end optimizing compiler for deep learning
(2018) · arXiv (Cornell University) · doi:10.5555/3291168.3291211 · Cited by 1,170
A practical automatic polyhedral parallelizer and locality optimizer
Bondhugula, U., Hartono, A., Ramanujam, J., & Sadayappan, P. (2008) · Proceedings of the 29th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1375581.1375595 · Cited by 880
Self-citationANTLR: A predicated‐LL(k) parser generator
Parr, T. J., & Quong, R. W. (1995) · Software: Practice and Experience · doi:10.1002/spe.4380250705 · Cited by 619
Pnueli, A., Siegel, M., & Singerman, E. (1998) · Lecture Notes in Computer Science · doi:10.1007/bfb0054170 · Cited by 499
Translation validation for an optimizing compiler
Necula, G. C. (2000) · Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation · doi:10.1145/349299.349314 · Cited by 488
Code generation in the polyhedral model is easier than you think
Bastoul, C. (2004) · Proceedings. 13th International Conference on Parallel Architecture and Compilation Techniques, 2004. PACT 2004. · doi:10.1109/pact.2004.1342537 · Cited by 447
Glow: Graph Lowering Compiler Techniques for Neural Networks
Rotem, N., Fix, J., Abdulrasool, S., Catron, G., Deng, S., Dzhabarov, R., Gibson, N., Hegeman, J., Lele, M., Levenstein, R., et al. (2018) · arXiv · doi:10.48550/arxiv.1805.00907 · Cited by 407
Polyhedral parallel code generation for CUDA
Verdoolaege, S., Carlos Juega, J., Cohen, A., Ignacio Gómez, J., Tenllado, C., & Catthoor, F. (2013) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/2400682.2400713 · Cited by 382
Self-citationSome efficient solutions to the affine scheduling problem. Part II. Multidimensional time
Feautrier, P. (1992) · International Journal of Parallel Programming · doi:10.1007/bf01379404 · Cited by 368
POLLY — PERFORMING POLYHEDRAL OPTIMIZATIONS ON A LOW-LEVEL INTERMEDIATE REPRESENTATION
GROSSER, T., GROESSLINGER, A., & LENGAUER, C. (2012) · Parallel Processing Letters · doi:10.1142/s0129626412500107 · Cited by 355
Stratego/XT 0.17. A language and toolset for program transformation
Bravenboer, M., Kalleberg, K. T., Vermaas, R., & Visser, E. (2008) · Science of Computer Programming · doi:10.1016/j.scico.2007.11.003 · Cited by 353
isl: An Integer Set Library for the Polyhedral Model
Verdoolaege, S. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15582-6_49 · Cited by 334
WYSINWYX: What you see is not what you eXecute
Balakrishnan, G., & Reps, T. (2010) · ACM Transactions on Programming Languages and Systems · doi:10.1145/1749608.1749612 · Cited by 286
A practical automatic polyhedral parallelizer and locality optimizer
Bondhugula, U., Hartono, A., Ramanujam, J., & Sadayappan, P. (2008) · ACM SIGPLAN Notices · doi:10.1145/1379022.1375595 · Cited by 248
Self-citationSemi-Automatic Composition of Loop Transformations for Deep Parallelism and Memory Hierarchies
Girbal, S., Vasilache, N., Bastoul, C., Cohen, A., Parello, D., Sigler, M., & Temam, O. (2006) · International Journal of Parallel Programming · doi:10.1007/s10766-006-0012-3 · Cited by 215
Self-citationAppel, A. W. (1998) · ACM SIGPLAN Notices · doi:10.1145/278283.278285 · Cited by 188
Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Code
Baghdadi, R., Ray, J., Romdhane, M. B., Sozzo, E. D., Akkas, A., Zhang, Y., Suriana, P., Kamil, S., & Amarasinghe, S. (2019) · 2019 IEEE/ACM International Symposium on Code Generation and Optimization (CGO) · doi:10.1109/cgo.2019.8661197 · Cited by 182
Lightweight modular staging: a pragmatic approach to runtime code generation and compiled DSLs
Rompf, T., & Odersky, M. (2012) · Communications of the ACM · doi:10.1145/2184319.2184345 · Cited by 181
PolyMage: Automatic Optimization for Image Processing Pipelines
Mullapudi, R. T., Vasista, V., & Bondhugula, U. (2015) · Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems · doi:10.1145/2694344.2694364 · Cited by 160
Self-citationHalide: decoupling algorithms from schedules for high-performance image processing
Ragan‐Kelley, J., Adams, A., Sharlet, D., Barnes, C., Paris, S., Levoy, M., Amarasinghe, S. P., & Durand, F. (2017) · Communications of the ACM · doi:10.1145/3150211 · Cited by 146
Chen, Y., Groce, A., Zhang, C., Wong, W.-K., Fern, X., Eide, E., & Regehr, J. (2013) · Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2491956.2462173 · Cited by 145
A Programming Language Interface to Describe Transformations and Code Generation
Rudy, G., Khan, M. M., Hall, M. W., Chen, C., & Chame, J. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-19595-2_10 · Cited by 77
Vasilache, N., Zinenko, O., Theodoridis, T., Goyal, P., DeVito, Z., Moses, W. S., Verdoolaege, S., Adams, A., & Cohen, A. (2019) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/3355606 · Cited by 60
Self-citationDiesel: DSL for linear algebra and neural net computations on GPUs
Elango, V., Rubin, N., Ravishankar, M., Sandanagobalane, H., & Grover, V. (2018) · ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (MAPL) · doi:10.1145/3211346.3211354 · Cited by 56
In search of a program generator to implement generic transformations for high-performance computing
Cohen, A., Donadio, S., Garzarán, M. J., Herrmann, C. A., Kiselyov, O., & Padua, D. (2006) · Science of Computer Programming · doi:10.1016/j.scico.2005.10.013 · Cited by 53
Self-citationStripe: Tensor Compilation via the Nested Polyhedral ModelPreprint
Zerrell, T., & Bruestle, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.06498 · Cited by 48
Opening polyhedral compiler's black box
Bagnères, L., Zinenko, O., Huot, S., & Bastoul, C. (2016) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1145/2854038.2854048 · Cited by 44
Self-citationDeclarative Loop Tactics for Domain-specific Optimization
Chelini, L., Zinenko, O., Grosser, T., & Corporaal, H. (2019) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/3372266 · Cited by 28
Self-citationLLVM parallel intermediate representation: design and evaluation using OpenSHMEM communications
Khaldi, D., Jouvelot, P., Irigoin, F., Ancourt, C., & Chapman, B. (2015) · IEEE/ACM Workshop on the LLVM Compiler Infrastructure in HPC (LLVM-HPC) · doi:10.1145/2833157.2833158 · Cited by 23
Reddy, C., & Bondhugula, U. K. R. (2014) · International Conference on Supercomputing · doi:10.1145/2597652.2597673 · Cited by 22
Self-citationTwenty Years of Rewriting Logic
José Meseguer, B. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-16310-4_2 · Cited by 9
Research works printed but not linked: 28
- 0, The OpenMPAPIspecification for parallel programming
- 10.1145/3178372.3179501 · doi:10.1145/3178372.3179501
- garcia, 2009, Lattice regression, Advances in Neural Information Processing Systems 22, 594
- schweitz, 2019, An MLIR dialect for high-level optimization of fortran, LLVM Developers' Meeting
- lindholm, 1999, Java Virtual Machine Specification
- 10.1145/27633.28055 · doi:10.1145/27633.28055
- 10.1145/202529.202534 · DOI
- 2017, XLA - TensorFlow compiled
- abadi, 2015, TensorFlow Large-Scale Machine Learning on Heterogeneous Systems
- 0, Onnx Open neural network exchange
- 10.1145/201059.201061 · DOI
- 10.1177/1094342009106195 · doi:10.1177/1094342009106195
- 10.1145/358438.349314 · doi:10.1145/358438.349314
- 10.1145/1328438.1328444 · DOI
- 10.1145/1542476.1542512 · DOI
- schommer, 2018, Embedded Program Annotations for WCET Analysis, WCET 2018 18th International Workshop on Worst-Case Execution Time Analysis, 63
- 10.1145/3377555.3377897 · doi:10.1145/3377555.3377897
- 0, TableGen - LLVM 10 Documentation
- 10.1145/178243.178258 · DOI
- 10.1145/570886.570887 · doi:10.1145/570886.570887
- 10.1109/HPCA.1998.650566 · doi:10.1109/hpca.1998.650566
- 10.1145/3155284.3018758 · DOI
- 2001, Open64 Developers, Open64 Compiler Tools
- 10.1145/2584665 · DOI
- 0, SyCL C++ single-sourceheterogeneous programming for OpenCL
- 0, The OpenACCTM Application Programming Interface
- 10.1145/1869459.1869470 · doi:10.1145/1869459.1869470
- 10.1145/2228360.2228411 · doi:10.1145/2228360.2228411
Cited by
Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct
Pereira, R., Martin, M., Roussel, A., Carribault, P., & Gautier, T. (2023) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-40744-4_5 · Cited by 12,935
Ansel, J., Yang, E., He, H., Gimelshein, N., Jain, A., Voznesensky, M., Bao, B., Bell, P., Berard, D., Burovski, E., et al. (2024) · Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2 · doi:10.1145/3620665.3640366 · Cited by 737
Generative Adversarial Networks for face generation: A survey
Kammoun, A., Slama, R., Tabia, H., Ouni, T., & Abid, M. (2022) · ACM Computing Surveys · doi:10.1145/1122445.1122456 · Cited by 311
FPGA HLS Today: Successes, Challenges, and Opportunities
Cong, J., Lau, J., Liu, G., Neuendorffer, S., Pan, P., Vissers, K., & Zhang, Z. (2022) · ACM Transactions on Reconfigurable Technology and Systems · doi:10.1145/3530775 · Cited by 187
“Another key capability useful for HLS is that MLIR supports code regions with a variety of basic structures.”
BackgroundInfluentialScherer, M., Macan, L., Jung, V. J. B., Wiese, P., Bompani, L., Burrello, A., Conti, F., & Benini, L. (2024) · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · doi:10.1109/tcad.2024.3443718 · Cited by 26
Metadata
- Authors
- Lattner, C., Amini, M., Bondhugula, U., Cohen, A., Davis, A., Pienaar, J., Riddle, R., Shpeisman, T., Vasilache, N., & Zinenko, O.
- Venue
- 2021 IEEE/ACM International Symposium on Code Generation and Optimization (CGO)
- Publisher
- IEEE
- Published
- 2021-02-27
- Pages
- 2-14
- OpenAlex
- W3122286897
- Cited by
- 541
- References
- 33
- FWCI
- 52.99
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.