2025 EuroLLVM - Dialects as a Dialect: Bringing native C++ registration to IRDL @LLVMPROJ
2025 EuroLLVM - Dialects as a Dialect: Bringing native C++ registration to IRDL  @LLVMPROJ
Uploaded May 2025 | Updated November 2026, 17 hours ago
2025 EuroLLVM Developers' Meeting

llvm.org/devmtg/2025-04

------

Title: Dialects as a Dialect: Bringing native C++ registration to IRDL

Speaker: Ivan Ho

------

Slides: llvm.org/devmtg/2025-04/slides/lightning_talk/ho_dialects.pdf

-----

IRDL allows to define dialects in MLIR in a declarative and easy to analyse fashion. While this feature set was useful on its own, IRDL-defined dialects were not tightly integrated into MLIR: it was notably impossible to realistically use C++ patterns on them, or use dialect conversion with them. We present how we created a new MLIR tool capable of generating C++ definitions for dialects, just like ODS with TableGen. With our tool, IRDL-defined dialects are now tightly integrated into MLIR and indistinguishable from ODS dialects from a user's perspective. We also present how we wish to improve the code template rendering tooling in LLVM.
-----

Videos Edited by Bash Films: BashFilms.com
2025 EuroLLVM - Dialects as a Dialect: Bringing native C++ registration to IRDL2025 US LLVM Developers Meeting: Lightweight Fault Isolation: LLVM Support for Efficient Sandboxing2025 EuroLLVM - Accidentally quadratic in compiler-rt/asan2025 US LLVM Developers Meeting: Continuous Integration System for Global ISel2026 EuroLLVM - The LLVM Release Process, a status update2026 EuroLLVM - Reproducible Large-Workload Recipes for BOLT with Nixpkgs2025 AsiaLLVM - LLVM vs. GCC on RISC-V Using SPEC CPU Benchmarks: Methods, Gaps, and Optimizations2025 EuroLLVM - TK Wave: Symbolic Python/MLIR DSL and Compiler for High Performance Machine Learning2026 EuroLLVM - Improving DemandedBits Analysis for Shift Operations in LLVM2025 US LLVM Developers Meeting: Building a Compiler Toolchain for Distributed Quantum Computing2025 US LLVM Developers Meeting: So you want to change the LLVM-IR?2025 US LLVM Developers Meeting: Building an MLIR Compiler for Real-Time AI on Existing 5G Infra
LLVM |

2025 EuroLLVM - Dialects as a Dialect: Bringing native C++ registration to IRDL

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER