Session Type
Keynote
Date & Time
Thursday, April 11, 2024, 9:15 AM - 10:00 AM
Name
Efficient Idioms in MLIR
Location Name
Ballroom
Abstract/s

This talk will dig into the performance aspects involved in implementing a compiler with MLIR. We’re interested here in the compile-time performance (the efficiency of the compiler implementation) instead of the generated code. We will go through implementation details of MLIR and quantify the cost of common operations (traversing or mutating the IR). We will then expose some anti-patterns that we unfortunately commonly see in MLIR-based compilers. Finally we will go through a few elements that are impacting the performance of the IR: for example the threading model of MLIR, how to use resources for zero-overhead management of large constants, taking advantage of the Properties custom storage on operations, or the aspect related to Type/Attribute intrinsic to the storage in the MLIRContext.

Moderator
Alex Zinenko