Welcome to the 51st issue of the MLIR Newsletter covering developments in MLIR, and related projects in the ecosystem. We welcome your contributions (contact: javed.absar@gmail.com). Click here to see previous editions.
Highlights
-
Vibrant community on mlir channel of LLVM discord server. If you are new to MLIR and having any problems debugging/implementing, our experts are always there to answer your questions in a very polite and friendly way.
-
Open MLIR Meeting 7/13/2023: mlir-query: Tool to query MLIR IR dynamically. slides and recording
-
RFC MLIR Pattern Matching for Library and Acceleration Instruction Rewriting. slides and recording .
-
EuroLLVM 2023 videos are upstream now - check here!
MLIR Commits
-
Alex Z. added backward dense data flow analysis. It is counterpart to the forward dense dataflow analysis and integrates into the dataflow framework. ⚙ D154713 [mlir] add backward dense dataflow analysis.
-
Matthias added hosting buffer allocation out of loops. https://reviews.llvm.org/D155289
-
Theo added memcpy support for mem2reg/sroa (scalar replacement of aggregates) in LLVM-IR dialect of MLIR. ⚙ D152898 [mlir][llvm] Add memcpy support for mem2reg/sroa.
-
Han-Chung added support for tensor.pack op decomposition when all
inner tile sizes are static ⚙ D150233 [mlir][Linalg] Add support for lowerPack on dynamic outer shapes. -
Aart Bik enhanced element-wise fusion heuristics - sparse-in/dense-out.⚙ D153077 [mlir][sparse] enhance element-wise fusion heuristics
MLIR RFC Discussions
-
What is ?
polygeist-opt is a pass testing tool, like mlir-opt or llvm's opt, it takes IR and produces IR cgeist is the frontend that takes C++
Discord -
What does it mean to “jam” a single loop (affine loops) ? GitHub, and an example
-
Having problems ‘memref to llvm’ ? Here is a useful test demonstrates a full “memref to llvm” pipeline - The test.
-
Michele Scuttari in the context of a week-long PhD course created the wikipedia page for mlir, which didn’t exist before. Here’s the link: MLIR (software) - Wikipedia. Renato noted (useful)
especially because the previous state was redirect to some music album
Useful Links