forked from OSchip/llvm-project
b4fa28b408
This patch adds an `ElementwiseMappable` trait as discussed in the RFC here: https://llvm.discourse.group/t/rfc-std-elementwise-ops-on-tensors/2113/23 This trait can power a number of transformations and analyses. A subsequent patch adds a convert-elementwise-to-linalg pass exhibits how this trait allows writing generic transformations. See https://reviews.llvm.org/D90354 for that patch. This trait slightly changes some verifier messages, but the diagnostics are usually about as good. I fiddled with the ordering of the trait in the .td file trait lists to minimize the changes here. Differential Revision: https://reviews.llvm.org/D90731 |
||
---|---|---|
.. | ||
Bindings | ||
Dialects | ||
Rationale | ||
Tutorials | ||
includes/img | ||
CAPI.md | ||
CMakeLists.txt | ||
Canonicalization.md | ||
ConversionToLLVMDialect.md | ||
DeclarativeRewrites.md | ||
Diagnostics.md | ||
DialectConversion.md | ||
EDSC.md | ||
Interfaces.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.