PET-to-MLIR: A polyhedral front-end for MLIR

Konrad Komisarczyk, Lorenzo Chelini, Kanishkan Vadivel, Roel Jordans, Henk Corporaal

Onderzoeksoutput: Hoofdstuk in Boek/Rapport/CongresprocedureConferentiebijdrageAcademicpeer review

5 Citaten (Scopus)
855 Downloads (Pure)

Samenvatting

We present PET-to-MLIR, a new tool to enter the MLIR compiler framework from C source. The tool is based on the popular PET and ISL libraries for extracting and manipulating quasi-affine sets and relations, and Loop Tactics, a declarative optimizer. The use of PET brings advanced diagnosis and full support for C by relying on the Clang parser. ISL allows easy manipulation of the polyhedral representation and efficient code generation. Loop Tactics, on the other hand, enable us to detect computational motifs transparently and lift the entry point in MLIR, thus enabling domain-specific optimizations in general-purpose code.

We demonstrate our tool using the Polybench/C benchmark suite and show that it can lower most of the benchmarks to the MLIR’s affine dialect successfully. We believe that our tool can benefit research in the compiler community by providing an automatic way to translate C code to the MLIR affine dialect.
Originele taal-2Engels
Titel2020 23rd Euromicro Conference on Digital System Design (DSD)
RedacteurenAndrej Trost, Andrej Zemva, Amund Skavhaug
UitgeverijInstitute of Electrical and Electronics Engineers
Pagina's551-556
Aantal pagina's6
ISBN van elektronische versie9781728195353
DOI's
StatusGepubliceerd - 8 okt. 2020
Evenement2020 23rd Euromicro Conference on Digital System Design (DSD) - Kranj, Slovenia, Kranj, Slovenië
Duur: 26 aug. 202028 aug. 2020

Congres

Congres2020 23rd Euromicro Conference on Digital System Design (DSD)
Land/RegioSlovenië
StadKranj
Periode26/08/2028/08/20

Financiering

FinanciersFinanciernummer
European Union’s Horizon Europe research and innovation programme676240
European Union’s Horizon Europe research and innovation programme780215
    • MNEMOSENE - Computation-in-memory architecture based on resistive devices

      Corporaal, H. (Project Manager), Jordans, R. (Projectmedewerker), Sánchez Martín, V. (Project Manager), Stuijk, S. (Projectmedewerker), Banagozar, A. (Projectmedewerker), Vadivel, K. (Projectmedewerker), Singh, G. (Projectmedewerker), van der Hagen, D. (Project communicatie medewerker) & de Mol-Regels, M. (Project communicatie medewerker)

      1/01/1830/06/21

      Project: Onderzoek direct

    • NeMeCo

      Corporaal, H. (Project Manager), van Dalfsen, J. (Projectmedewerker), Singh, G. (Projectmedewerker), Chelini, L. (Projectmedewerker), Corda, S. (Projectmedewerker), Stuijk, S. (Projectmedewerker), Sánchez Martín, V. (Project Manager), Jordans, R. (Projectmedewerker), van der Hagen, D. (Project communicatie medewerker) & de Mol-Regels, M. (Project communicatie medewerker)

      1/04/1630/09/20

      Project: Onderzoek direct

    Citeer dit