[all-commits] [llvm/llvm-project] 422aaf: [mlir][Linalg] Add named Linalg ops on tensor to b...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Mon Oct 12 04:21:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 422aaf31daa520899303adaf82ba76743624ee0a
https://github.com/llvm/llvm-project/commit/422aaf31daa520899303adaf82ba76743624ee0a
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
M mlir/docs/Tutorials/QuickstartRewrites.md
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
M mlir/include/mlir/Transforms/Bufferize.h
A mlir/integration_test/Dialect/Linalg/CPU/test-tensor-matmul.mlir
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
M mlir/lib/Dialect/Linalg/Transforms/TensorsToBuffers.cpp
M mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp
M mlir/lib/Transforms/BufferPlacement.cpp
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
M mlir/test/lib/Transforms/TestBufferPlacement.cpp
M mlir/tools/mlir-tblgen/RewriterGen.cpp
Log Message:
-----------
[mlir][Linalg] Add named Linalg ops on tensor to buffer support.
This revision introduces support for buffer allocation for any named linalg op.
To avoid template instantiating many ops, a new ConversionPattern is created to capture the LinalgOp interface.
Some APIs are updated to remain consistent with MLIR style:
`OwningRewritePatternList * -> OwningRewritePatternList &`
`BufferAssignmentTypeConverter * -> BufferAssignmentTypeConverter &`
Differential revision: https://reviews.llvm.org/D89226
More information about the All-commits
mailing list