* This allows us to hoist trait level information for regions and sized-variadic to class level attributes (_ODS_REGIONS, _ODS_OPERAND_SEGMENTS, _ODS_RESULT_SEGMENTS). * Eliminates some splicey python generated code in favor of a native helper for it. * Makes it possible to implement custom, variadic and region based builders with one line of python, without needing to manually code access to the segment attributes. * Needs follow-on work for region based callbacks and support for SingleBlockImplicitTerminator. * A follow-up will actually add ODS support for generating custom Python builders that delegate to this new method. * Also includes the start of an e2e sample for constructing linalg ops where this limitation was discovered (working progressively through this example and cleaning up as I go). Differential Revision: https://reviews.llvm.org/D94738 |
||
|---|---|---|
| .. | ||
| Bindings | ||
| Dialects | ||
| Rationale | ||
| Tutorials | ||
| includes/img | ||
| BufferDeallocationInternals.md | ||
| Bufferization.md | ||
| CAPI.md | ||
| CMakeLists.txt | ||
| Canonicalization.md | ||
| ConversionToLLVMDialect.md | ||
| DeclarativeRewrites.md | ||
| Diagnostics.md | ||
| DialectConversion.md | ||
| EDSC.md | ||
| Interfaces.md | ||
| LLVMDialectMemRefConvention.md | ||
| LangRef.md | ||
| OpDefinitions.md | ||
| PassManagement.md | ||
| Passes.md | ||
| PatternRewriter.md | ||
| Quantization.md | ||
| README.txt | ||
| SPIRVToLLVMDialectConversion.md | ||
| ShapeInference.md | ||
| SymbolsAndSymbolTables.md | ||
| Traits.md | ||
| doxygen-mainpage.dox | ||
| doxygen.cfg.in | ||
README.txt
MLIR documentation ================== Please note mlir.llvm.org is where MLIR's rendered documentation is displayed. The viewing experience on GitHub or elsewhere may not match those of the website. For any changes please verify instead that they work on the main website first. See https://github.com/llvm/mlir-www for the website generation information.