The Support of MLIR HLS Adaptor for LLVM IR

Geng Ming Liang, Chuan Yue Yuan, Meng Shiun Yuan, Tai Liang Chen, Kuan Hsun Chen, Jenq Kuen Lee

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

3 Citations (Scopus)

Abstract

Since the emergence of MLIR, High-level Synthesis (HLS) tools started to design in multi-level abstractions. Unlike the traditional HLS tools that are based on a single abstraction (e.g. LLVM), optimizations in different levels of abstraction could benefit from cross-layer optimizations to get better results. Although current HLS tools with MLIR can generate HLS C/C++ to do synthesis, we believe that a direct IR transformation from MLIR to LLVM will keep more expression details. In this paper, we propose an adaptor for LLVM IR, which can optimize the IR, generated from MLIR, into HLS readable IR. Without the gap of unsupported syntax between different versions, developers could focus on their specialization. Our preliminary results show that the MLIR flow via our adaptor can generate comparable performance results with the version by MLIR HLS tools generating HLS C++ codes. The experiment is performed with Xilinx Vitis and HLS tools.

Original languageEnglish
Title of host publicationICPP Workshops '22: Workshop Proceedings of the 51st International Conference on Parallel Processing
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery
Pages1-8
Number of pages8
ISBN (Electronic)9781450394451
DOIs
Publication statusPublished - 13 Jan 2023
Event51st International Conference on Parallel Processing, ICPP 2022 - Virtual, Online, Bordeaux, France
Duration: 29 Aug 20221 Sept 2022

Publication series

NameACM International Conference Proceeding Series

Conference

Conference51st International Conference on Parallel Processing, ICPP 2022
Country/TerritoryFrance
CityBordeaux
Period29/08/221/09/22

Keywords

  • HLS
  • LLVM
  • MLIR

Fingerprint

Dive into the research topics of 'The Support of MLIR HLS Adaptor for LLVM IR'. Together they form a unique fingerprint.

Cite this