English

DSP-MLIR: A MLIR Dialect for Digital Signal Processing

Signal Processing 2025-06-23 v1 Computation and Language

Abstract

Traditional Digital Signal Processing ( DSP ) compilers work at low level ( C-level / assembly level ) and hence lose much of the optimization opportunities present at high-level ( domain-level ). The emerging multi-level compiler infrastructure MLIR ( Multi-level Intermediate Representation ) allows to specify optimizations at higher level. In this paper, we utilize MLIR framework to introduce a DSP Dialect and perform domain-specific optimizations at dialect -level ( high-level ) and show the usefulness of these optimizations on sample DSP apps. In particular, we develop a compiler for DSP and a DSL (Domain Specific Language) to ease the development of apps. We show the performance improvement in execution time for these sample apps by upto 10x which would have been difficult if the IR were at C/ affine level.

Keywords

Cite

@article{arxiv.2408.11205,
  title  = {DSP-MLIR: A MLIR Dialect for Digital Signal Processing},
  author = {Abhinav Kumar and Atharva Khedkar and Aviral Shrivastava},
  journal= {arXiv preprint arXiv:2408.11205},
  year   = {2025}
}
R2 v1 2026-06-28T18:18:46.716Z