[all-commits] [llvm/llvm-project] 93f992: [mlir][linalg] adding operation to access the iter...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Mon Apr 12 06:40:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93f9922d65f8a89b8a9299eeab61511ce8baa3bc
https://github.com/llvm/llvm-project/commit/93f9922d65f8a89b8a9299eeab61511ce8baa3bc
Author: Tobias Gysi <gysit at google.com>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/fusion-indexed-generic.mlir
M mlir/test/Dialect/Linalg/fusion-tensor.mlir
M mlir/test/Dialect/Linalg/invalid.mlir
M mlir/test/Dialect/Linalg/loop-order.mlir
M mlir/test/Dialect/Linalg/roundtrip.mlir
M mlir/test/Dialect/Linalg/tile.mlir
M mlir/test/Dialect/Linalg/vectorization.mlir
M mlir/test/lib/Transforms/TestLinalgFusionTransforms.cpp
Log Message:
-----------
[mlir][linalg] adding operation to access the iteration index of enclosing linalg ops.
The `linalg.index` operation provides access to the iteration indexes of immediately enclosing linalg operations. It takes a dimension `dim` attribute and returns the iteration index in the given dimension. Having `linalg.index` allows us to unify `linalg.generic` and `linalg.indexed_generic` and also enables index access in named operations.
Differential Revision: https://reviews.llvm.org/D100292
More information about the All-commits
mailing list