Hi~ I just have a fairly very simple question. I barely get perplexed when I walk through the MLIR Builtin Dialect Documentation, what is exactly the meaning of dialect parameters as well as corresponding C++ type? And how can I pass the required type of parameter to this build-in dialect?
This is the documentation for the AffineMap Attribute, which only wraps an AffineMap C++ object. The “parameter” list reflects this: your can build an AffineMapAttr by passing only an AffineMap as parameter.
Here is an example: https://github.com/llvm/llvm-project/blob/9bcc094d376705e3dcfdd6fe2c71bb5456746b08/mlir/lib/Dialect/Affine/IR/AffineOps.cpp#L1916
Wow~ Thank you so much for your reply I will further dive into source code to figure out the minutia