[all-commits] [llvm/llvm-project] 26e916: [mlir][linalg] Add IndexedGenericOp to GenericOp c...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Thu May 6 23:37:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26e916334ebc3cb34f1c020e00c731bd60b0323a
      https://github.com/llvm/llvm-project/commit/26e916334ebc3cb34f1c020e00c731bd60b0323a
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Linalg/canonicalize-duplicate-inputs.mlir
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/fusion-indexed-generic.mlir
    M mlir/test/Dialect/Linalg/fusion-tensor.mlir
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir
    M mlir/test/Dialect/Linalg/tile-indexed-generic.mlir
    M mlir/test/Dialect/Linalg/tile-tensors.mlir

  Log Message:
  -----------
  [mlir][linalg] Add IndexedGenericOp to GenericOp canonicalization.

Replace all `linalg.indexed_generic` ops by `linalg.generic` ops that access the iteration indices using the `linalg.index` op.

Differential Revision: https://reviews.llvm.org/D101612




More information about the All-commits mailing list