{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,8]],"date-time":"2026-09-08T14:11:35Z","timestamp":1788876695190,"version":"build-2803163510"},"reference-count":47,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2026,9,8]],"date-time":"2026-09-08T00:00:00Z","timestamp":1788825600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"Swiss NSF Edge-Companions project","award":["GA No. 10002812"],"award-info":[{"award-number":["GA No. 10002812"]}]},{"name":"Swiss State Secretariat for Education, Research, and Innovation (SERI) through the SwissChips research project"},{"name":"ACCESS\u2014AI Chip Center for Emerging Smart Systems, supported by the InnoHK initiative of the Innovation and Technology Commission of the Hong Kong Special Administrative Region Government"},{"name":"Swiss National Science Foundation via project ADApprox","award":["grant 200020_188613"],"award-info":[{"award-number":["grant 200020_188613"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Reconfigurable Technol. Syst."],"published-print":{"date-parts":[[2026,9,30]]},"abstract":"<jats:p>\n                    Coarse-Grained Reconfigurable Arrays (CGRAs) present both high flexibility and efficiency, making them well-suited for the acceleration of intensive workloads. Nevertheless, a key barrier toward their widespread adoption is posed by CGRA compilation, which must cope with a multi-dimensional space spanning both the spatial and the temporal domains. Indeed, state-of-the-art compilers are limited in scope, as they mostly handle dataflow while providing little or no support for control flow. Hence, they mostly focus on mapping single loops and\/or delegate the management of control-flow divergences to\n                    <jats:italic toggle=\"yes\">ad hoc<\/jats:italic>\n                    hardware units.\n                  <\/jats:p>\n                  <jats:p>\n                    Conversely, in this article, we show that control flow can be effectively managed and optimized at the compilation level, enabling a broad set of applications to be targeted while remaining hardware-agnostic and achieving high performance. We embody our methodology in a modular compilation framework consisting of transformation and optimization passes, enabling support for applications with arbitrary control flows running on homogeneous CGRA meshes. We also introduce a novel mapping methodology that serves as a compilation backend, addressing limitations in available CGRA hardware resources and ensuring a feasible solution during compilation. Our framework achieves up to 2.1\n                    <jats:inline-formula content-type=\"math\/tex\">\n                      <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\times\\)<\/jats:tex-math>\n                    <\/jats:inline-formula>\n                    runtime speed-up over state-of-the-art approaches, purely through compilation optimizations.\n                  <\/jats:p>","DOI":"10.1145\/3828545","type":"journal-article","created":{"date-parts":[[2026,7,2]],"date-time":"2026-07-02T15:08:53Z","timestamp":1783004933000},"page":"1-27","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["An MLIR-Based Compilation Framework for Control Flow Management on Coarse-Grained Reconfigurable Arrays"],"prefix":"10.1145","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0009-0008-4281-2388","authenticated-orcid":false,"given":"Yuxuan","family":"Wang","sequence":"first","affiliation":[{"name":"ESL, EPFL, Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-5403-6255","authenticated-orcid":false,"given":"Cristian","family":"Tirelli","sequence":"additional","affiliation":[{"name":"University of Lugano (USI), Lugano, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8940-3775","authenticated-orcid":false,"given":"Giovanni","family":"Ansaloni","sequence":"additional","affiliation":[{"name":"ESL, EPFL, Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1083-8782","authenticated-orcid":false,"given":"Laura","family":"Pozzi","sequence":"additional","affiliation":[{"name":"University of Lugano (USI), Lugano, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9536-4947","authenticated-orcid":false,"given":"David","family":"Atienza","sequence":"additional","affiliation":[{"name":"ESL, EPFL, Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,9,8]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1109\/2.839320"},{"key":"e_1_3_2_3_2","first-page":"1","volume-title":"Reconfigurable Computing: Architectures, Tools and Applications","author":"Bouwens F.","year":"2007","unstructured":"F. Bouwens, M. Berekovic, A. Kanstein, and G. Gaydadjiev. 2007. Architectural exploration of the ADRES coarse-grained reconfigurable array. In Reconfigurable Computing: Architectures, Tools and Applications. P. C. Diniz, E. Marques, K. Bertels, M. M. Fernandes, and J. M. P. Cardoso (Eds.), Springer, Berlin, 1\u201313."},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASAP.2017.7995277"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3503222.3507772"},{"key":"e_1_3_2_6_2","first-page":"1","volume-title":"Proceedings of the 2017 IEEE International Symposium on Circuits and Systems (ISCAS)","author":"Das S.","year":"2017","unstructured":"S. Das, D. Rossi, K. J. M. Martin, P. Coussy, and L. Benini. 2017. A 142MOPS\/mW integrated programmable array accelerator for smart visual processing. In Proceedings of the 2017 IEEE International Symposium on Circuits and Systems (ISCAS), 1\u20134."},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2021.3058313"},{"key":"e_1_3_2_8_2","first-page":"389","volume-title":"Proceedings of the 2017 ACM\/IEEE 44th Annual International Symposium on Computer Architecture (ISCA)","author":"Prabhakar R.","year":"2017","unstructured":"R. Prabhakar, Y. Zhang, D. Koeplinger, M. Feldman, T. Zhao, S. Hadjis, A. Pedram. C. Kozyrakis, and K. Olukotun. 2017. Plasticine: A reconfigurable architecture for parallel patterns. In Proceedings of the 2017 ACM\/IEEE 44th Annual International Symposium on Computer Architecture (ISCA), 389\u2013402."},{"key":"e_1_3_2_9_2","first-page":"296","volume-title":"Proceedings of the 2003 Design, Automation and Test in Europe Conference and Exhibition","author":"Mei B.","year":"2003","unstructured":"B. Mei, S. Vernalde, D. Verkest, H. De Man, and R. Lauwereins. 2003. Exploiting loop-level parallelism on coarse-grained reconfigurable architectures using modulo scheduling. In Proceedings of the 2003 Design, Automation and Test in Europe Conference and Exhibition, 296\u2013301."},{"key":"e_1_3_2_10_2","first-page":"166","volume-title":"Proceedings of the 2002 IEEE International Conference on Field-Programmable Technology (FPT \u201902)","author":"Mei B.","year":"2002","unstructured":"B. Mei. 2002. DRESC: A retargetable compiler for coarse-grained reconfigurable architectures. In Proceedings of the 2002 IEEE International Conference on Field-Programmable Technology (FPT \u201902). IEEE, 166\u2013173."},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/1508128.1508158"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO56248.2022.00046"},{"key":"e_1_3_2_13_2","first-page":"679","volume-title":"Proceedings of the 2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW)","author":"Martin K. J. M.","year":"2022","unstructured":"K. J. M. Martin. 2022. Twenty years of automated methods for mapping applications on CGRA. In Proceedings of the 2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), 679\u2013686."},{"key":"e_1_3_2_14_2","first-page":"1","volume-title":"Proceedings of the 2024 Design, Automation and Test in Europe Conference Exhibition (DATE)","author":"Lou J.","year":"2024","unstructured":"J. Lou, X. Gao, Y. Mao, Y. Qiu, Y. Hu, W. Yin, and L. Wang. 2024. An agile deploying approach for large-scale workloads on CGRA-CPU architecture. In Proceedings of the 2024 Design, Automation and Test in Europe Conference Exhibition (DATE), 1\u20136."},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-79025-7_5"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/ReConFig.2015.7393298"},{"key":"e_1_3_2_17_2","first-page":"205","volume-title":"Proceeding of the 41st Annual International Symposium on Computer Architecture (ISCA \u201914)","author":"Voitsechov D.","year":"2014","unstructured":"D. Voitsechov and Y. Etsion. 2014. Single-graph multiple flows: Energy efficient design alternative for GPGPUs. In Proceeding of the 41st Annual International Symposium on Computer Architecture (ISCA \u201914). IEEE Press, 205\u2013216."},{"key":"e_1_3_2_18_2","first-page":"1","volume-title":"Proceedings of the 2019 IEEE\/ACM International Conference on Computer-Aided Design (ICCAD)","author":"Karunaratne M.","year":"2019","unstructured":"M. Karunaratne, D. Wijerathne, T. Mitra, and L.-S. Peh. 2019. 4D-CGRA: Introducing branch dimension to spatio-temporal application mapping on CGRAs. In Proceedings of the 2019 IEEE\/ACM International Conference on Computer-Aided Design (ICCAD), 1\u20138."},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3613424.3614246"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA52012.2021.00084"},{"key":"e_1_3_2_21_2","first-page":"1","volume-title":"Proceedings of the 2017 54th ACM\/EDAC\/IEEE Design Automation Conference (DAC)","author":"Karunaratne M.","year":"2017","unstructured":"M. Karunaratne, A. K. Mohite, T. Mitra, and L.-S. Peh. 2017. HyCUBE: A CGRA with reconfigurable single-cycle multi-hop interconnect. In Proceedings of the 2017 54th ACM\/EDAC\/IEEE Design Automation Conference (DAC), 1\u20136."},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3587135.3591437"},{"key":"e_1_3_2_23_2","volume-title":"Proceedings of the 5th Workshop on Open-Source EDA Technology (WOSET)","author":"Wijerathne D.","year":"2022","unstructured":"D. Wijerathne, Z. Li, M. Karunaratne, L.-S. Peh, and T. Mitra. 2022. Morpher: An open-source integrated compilation and simulation framework for CGRA. In Proceedings of the 5th Workshop on Open-Source EDA Technology (WOSET)."},{"issue":"2","key":"e_1_3_2_24_2","first-page":"389","article-title":"REMARC: Reconfigurable multimedia array coprocessor","volume":"82","author":"Miyamori T.","year":"1999","unstructured":"T. Miyamori and K. Olukotun. 1999. REMARC: Reconfigurable multimedia array coprocessor. IEICE Transactions on Information and Systems 82, 2 (1999), 389\u2013397.","journal-title":"IEICE Transactions on Information and Systems"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2002.997877"},{"key":"e_1_3_2_26_2","volume-title":"Compilers: Principles, Techniques, and Tools","author":"Aho A. V.","year":"2006","unstructured":"A. V. Aho, M. S. Lam, R. Sethi, and J. D. Ullman. 2006. Compilers: Principles, Techniques, and Tools (2nd ed.). Addison-Wesley Longman Publishing Co., Inc., USA.","edition":"2"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASPDAC.2017.7858308"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2018.2834397"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3663675"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO51591.2021.9370308"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC56929.2023.10247873"},{"key":"e_1_3_2_32_2","first-page":"184","volume-title":"Proceedings of the 2024 IEEE 35th International Conference on Application-Specific Systems, Architectures and Processors (ASAP)","author":"Yu T.","year":"2024","unstructured":"T. Yu, O. Ragheb, S. Wicklund, and J. Anderson. 2024. MLIR-to-CGRA: A versatile MLIR-based compiler framework for CGRAs. In Proceedings of the 2024 IEEE 35th International Conference on Application-Specific Systems, Architectures and Processors (ASAP), 184\u2013192."},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC.2018.8465799"},{"key":"e_1_3_2_34_2","first-page":"1","volume-title":"Proceedings of the Design, Automation and Test in Europe Conference Exhibition (DATE)","author":"Tirelli C.","year":"2023","unstructured":"C. Tirelli, L. Ferretti, and L. Pozzi. 2023. SAT-MAPIT: A SAT-based modulo scheduling mapper for coarse grain reconfigurable architectures. In Proceedings of the Design, Automation and Test in Europe Conference Exhibition (DATE), 1\u20136."},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA57654.2024.00015"},{"key":"e_1_3_2_36_2","first-page":"198","volume-title":"Proceedings of the 2016 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW)","author":"Ruschke T.","year":"2016","unstructured":"T. Ruschke, L. J. Jung, D. Wolf, and C. Hochberger. 2016. Scheduler for inhomogeneous and irregular CGRAs with support for complex control flow. In Proceedings of the 2016 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), 198\u2013207."},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2024.3402098"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/2459316.2459319"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2021.3121346"},{"key":"e_1_3_2_40_2","first-page":"290","volume-title":"Proceedings of the 2021 IEEE 4th International Conference on Computer and Communication Engineering Technology (CCET)","author":"Yuan B.","year":"2021","unstructured":"B. Yuan, L. Liu, J. Zhu, and X. Man. 2021. Compiling loops with branches on static-scheduling CGRA. In Proceedings of the 2021 IEEE 4th International Conference on Computer and Communication Engineering Technology (CCET), 290\u2013294."},{"key":"e_1_3_2_41_2","first-page":"1","volume-title":"Proceedings of the 2014 51st ACM\/EDAC\/IEEE Design Automation Conference (DAC)","author":"Hamzeh M.","year":"2014","unstructured":"M. Hamzeh, A. Shrivastava, and S. Vrudhula. 2014. Branch-aware loop mapping on CGRAs. In Proceedings of the 2014 51st ACM\/EDAC\/IEEE Design Automation Conference (DAC), 1\u20136."},{"key":"e_1_3_2_42_2","doi-asserted-by":"crossref","first-page":"138","DOI":"10.1109\/HPCA.2016.7446060","volume-title":"Proceedings of the 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA)","author":"Watkins M. A.","year":"2016","unstructured":"M. A. Watkins, T. Nowatzki, and A. Carno. 2016. Software transparent dynamic binary translation for coarse-grain reconfigurable architectures. In Proceedings of the 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA), 138\u2013150."},{"key":"e_1_3_2_43_2","doi-asserted-by":"crossref","first-page":"137","DOI":"10.1109\/FPT.2004.1393261","volume-title":"Proceedings of the 2004 IEEE International Conference on Field-Programmable Technology (IEEE Cat. No. 04ex921)","author":"Suzuki M.","year":"2004","unstructured":"M. Suzuki, Y. Hasegawa, Y. Yamada, N. Kaneko, K. Deguchi, H. Amano, K. Anjo, M. Motomura, K. Wakabayashi, T. Toi, et al. 2004. Stream applications on the dynamically reconfigurable processor. In Proceedings of the 2004 IEEE International Conference on Field-Programmable Technology (IEEE Cat. No. 04ex921), 137\u2013144."},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358276"},{"key":"e_1_3_2_45_2","first-page":"33","article-title":"An MLIR-based compilation framework for CGRA application deployment","volume":"1","author":"Wang Yuxuan","year":"2025","unstructured":"Yuxuan Wang, Cristian Tirelli, Lara Orlandic, Juan Sapriza, Rub\u00e9n Rodr\u00edguez \u00c1lvarez, Giovanni Ansaloni, Laura Pozzi, and David Atienza. 2025. An MLIR-based compilation framework for CGRA application deployment. Applied Reconfigurable Computing. Architectures, Tools, and Applications 1 (2025), 33\u201350.","journal-title":"Applied Reconfigurable Computing. Architectures, Tools, and Applications"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/11688839_20"},{"key":"e_1_3_2_47_2","unstructured":"L.-N. Pouchet. 2012. PolyBench: The Polyhedral Benchmark Suite. Retrieved March 24 2025 from https:\/\/github.com\/MatthiasJReisinger\/PolyBenchC-4.2.1"},{"key":"e_1_3_2_48_2","first-page":", 3","volume-title":"Proceedings of the 4th Annual IEEE International Workshop on Workload Characterization. WWC-4 (Cat. No, 01EX538)","author":"Guthaus M.","year":"2001","unstructured":"M. Guthaus, J. Ringenberg, D. Ernst, T. Austin, T. Mudge, and R. Brown. 2001. MiBench: A free, commercially representative embedded benchmark suite. In Proceedings of the 4th Annual IEEE International Workshop on Workload Characterization. WWC-4 (Cat. No, 01EX538), 3\u201314."}],"container-title":["ACM Transactions on Reconfigurable Technology and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3828545","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,8]],"date-time":"2026-09-08T13:56:25Z","timestamp":1788875785000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3828545"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,8]]},"references-count":47,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2026,9,30]]}},"alternative-id":["10.1145\/3828545"],"URL":"https:\/\/doi.org\/10.1145\/3828545","relation":{},"ISSN":["1936-7406","1936-7414"],"issn-type":[{"value":"1936-7406","type":"print"},{"value":"1936-7414","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,8]]},"assertion":[{"value":"2025-08-19","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-15","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-09-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}