[all-commits] [llvm/llvm-project] 30e130: [mlir] Move some linalg patterns around.

Sean Silva via All-commits all-commits at lists.llvm.org
Fri Oct 30 13:49:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 30e130c3edb2381ac099556d4976f379dfaa4f66
      https://github.com/llvm/llvm-project/commit/30e130c3edb2381ac099556d4976f379dfaa4f66
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/LinalgToStandard/LinalgToStandard.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Move some linalg patterns around.

The bufferization patterns are moved to the .cpp file, which is
preferred in the codebase when it makes sense.

The LinalgToStandard patterns are kept a header because they are
expected to be used individually. However, they are moved to
LinalgToStandard.h which is the file corresponding to where they are
defined.

This also removes TensorCastOpConverter, which is handled by
populateStdBufferizePatterns now. Eventually, the constant op lowering
will be handled as well, but it there are currently holdups on moving
it (see https://reviews.llvm.org/D89916).

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




More information about the All-commits mailing list