jeremykun | Math ∩ Programming

MLIR — Using Tablegen for Passes

Follow
Table of Contents In the last article in this series, we defined some custom lowering passes that modified an MLIR program. Notably, we accomplished that by implementing the required interfaces of the MLIR API directly. This is not the way that most MLIR developers work. Instead, they use a code generation tool called tablegen to generate boilerplate for them, and then only add the implementation methods that are custom to their work.
favicon
jeremykun.com
jeremykun.com
Create attached notes ...