[all-commits] [llvm/llvm-project] 37e0fd: [mlir][Linalg] Add basic support for TileAndFuse o...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Oct 26 10:20:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37e0fdd072a95b51bcd0eb6b08d2762aa304e766
      https://github.com/llvm/llvm-project/commit/37e0fdd072a95b51bcd0eb6b08d2762aa304e766
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    A mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add basic support for TileAndFuse on Linalg on tensors.

This revision allows the fusion of the producer of input tensors in the consumer under a tiling transformation (which produces subtensors).
Many pieces are still missing (e.g. support init_tensors, better refactor LinalgStructuredOp interface support, try to merge implementations and reuse code) but this still allows getting started.

The greedy pass itself is just for testing purposes and will be extracted in a separate test pass.

Differential revision: https://reviews.llvm.org/D89491




More information about the All-commits mailing list