Is It a Good Idea to Build an HLS Tool on Top of MLIR? Experience from Building the Dynamatic HLS Compiler

📅 2026-03-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work systematically evaluates the suitability of MLIR as an infrastructure for high-level synthesis (HLS) compilers, addressing the expressiveness and optimization limitations of traditional LLVM in HLS contexts. Drawing on the industrial-scale refactoring of the Dynamatic HLS compiler, the study presents the first comprehensive validation of MLIR’s capabilities within a real-world HLS workflow. By leveraging MLIR’s multi-level intermediate representation framework, the authors integrate dataflow semantic modeling with hardware-oriented optimizations to construct an end-to-end compilation pipeline. The results demonstrate that MLIR substantially enhances modularity, development efficiency, and optimization potential in HLS tooling, while also exposing current gaps in scheduling algorithms and hardware modeling within the MLIR ecosystem—thereby offering clear directions for future research and development.

Technology Category

Application Category

📝 Abstract
When the MLIR project was first introduced, it promised to address the issues that the HLS community had with the LLVM project. But is this really the case, and is MLIR the "right"/"best" compiler infrastructure for HLS? We here share our experiences based on the development of Dynamatic (github.com/EPFL-LAP/dynamatic).
Problem

Research questions and friction points this paper is trying to address.

HLS
MLIR
compiler infrastructure
LLVM
high-level synthesis
Innovation

Methods, ideas, or system contributions that make the work stand out.

MLIR
High-Level Synthesis
Dynamatic
Compiler Infrastructure
Dataflow HLS
🔎 Similar Papers
No similar papers found.