llvm/mlir/docs
gysit a3655de2c8 [mlir][OpDSL] Add support for basic rank polymorphism.
Previously, OpDSL did not support rank polymorphism, which required a separate implementation of linalg.fill. This revision extends OpDSL to support rank polymorphism for a limited class of operations that access only scalars and tensors of rank zero. At operation instantiation time, it scales these scalar computations to multi-dimensional pointwise computations by replacing the empty indexing maps with identity index maps. The revision does not change the DSL itself, instead it adapts the Python emitter and the YAML generator to generate different indexing maps and and iterators depending on the rank of the first output.

Additionally, the revision introduces a `linalg.fill_tensor` operation that in a future revision shall replace the current handwritten `linalg.fill` operation. `linalg.fill_tensor` is thus only temporarily available and will be renamed to `linalg.fill`.

Reviewed By: nicolasvasilache, stellaraccident

Differential Revision: https://reviews.llvm.org/D119003
2022-02-11 08:27:49 +00:00
..
Bindings [mlir] Fix reference to out of date CMake function 2022-01-13 15:26:36 +01:00
Dialects [mlir][OpDSL] Add support for basic rank polymorphism. 2022-02-11 08:27:49 +00:00
includes/img [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Rationale [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Tools
Tutorials [mlir][ods] Optional Attribute or Type Parameters 2022-02-08 20:09:44 +00:00
BufferDeallocationInternals.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Bufferization.md [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
Canonicalization.md Clarify that fold() can't "erase" an operation in the MLIR Canonicalization doc (NFC) 2022-01-13 18:43:18 +00:00
CAPI.md
CMakeLists.txt
DataLayout.md
DebugActions.md
DeclarativeRewrites.md
Diagnostics.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
DialectConversion.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
doxygen-mainpage.dox
doxygen.cfg.in
Interfaces.md [mlir] Add isa/dyn_cast support for dialect interfaces 2022-01-31 19:24:34 -08:00
LangRef.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
OpDefinitions.md [mlir] Refactor how additional verification is specified in ODS 2022-02-02 13:34:28 -08:00
Passes.md
PassManagement.md
PatternRewriter.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Quantization.md
README.txt
ShapeInference.md
SPIRVToLLVMDialectConversion.md
SymbolsAndSymbolTables.md
TargetLLVMIR.md
Traits.md [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00

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.