Abstract
Multi-level intermediate representations (IR) show great promise for lowering the design costs for domain-specific compilers by providing a reusable, extensible, and non-opini-onated framework for expressing domain-specific and high-level abstractions directly in the IR. But, while such frameworks support the progressive lowering of high-level representations to low-level IR, they do not raise in the opposite direction. Thus, the entry point into the compilation pipeline defines the highest level of abstraction for all subsequent transformations, limiting the set of applicable optimizations, in particular for general-purpose languages that are not semantically rich enough to model the required abstractions. We propose Progressive Raising, a complementary approach to the progressive lowering in multi-level IRs that raises from lower to higher-level abstractions to leverage domain-specific transformations for low-level representations. We further introduce Multilevel Tactics, our declarative approach for progressive raising, implemented on top of the MLIR framework, and demonstrate the progressive raising from affine loop nests specified in a general-purpose language to high-level linear algebra operations. Our raising paths leverage subsequent high-level domain-specific transformations with significant performance improvements.
| Original language | English |
|---|---|
| Title of host publication | CGO 2021 - Proceedings of the 2021 IEEE/ACM International Symposium on Code Generation and Optimization |
| Editors | Jae W. Lee, Mary Lou Soffa, Ayal Zaks |
| Publisher | Institute of Electrical and Electronics Engineers |
| Pages | 15-26 |
| Number of pages | 12 |
| ISBN (Electronic) | 9781728186139 |
| DOIs | |
| Publication status | Published - 27 Feb 2021 |
| Event | 19th IEEE/ACM International Symposium on Code Generation and Optimization, CGO 2021 - Virtual, Korea, Korea, Republic of Duration: 27 Feb 2021 → 3 Mar 2021 |
Conference
| Conference | 19th IEEE/ACM International Symposium on Code Generation and Optimization, CGO 2021 |
|---|---|
| Country/Territory | Korea, Republic of |
| City | Virtual, Korea |
| Period | 27/02/21 → 3/03/21 |
Bibliographical note
Publisher Copyright:© 2021 IEEE.
Keywords
- MLIR
- multi-level intermediate representation
- progressive raising
Fingerprint
Dive into the research topics of 'Progressive Raising in Multi-level IR'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver