[all-commits] [llvm/llvm-project] ea069a: [mlir][Linalg] NFC: Move populatePatterns* method ...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Apr 5 11:16:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea069aebccd317f350be3cabdcd848476616d4da
      https://github.com/llvm/llvm-project/commit/ea069aebccd317f350be3cabdcd848476616d4da
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseToLinalg.cpp
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp

  Log Message:
  -----------
  [mlir][Linalg] NFC: Move populatePatterns* method into linalg namespace.

The moved `populate` methods are only relevant to Linalg
operations. So they are better of in `linalg` namespace.  Also rename
`populateLinalgTensorOpsFusionPatterns` to
`populateElementwiseOpsFusionPatterns`. This makes the scope of these
patterns explicit and disambiguates it with fusion on tensors using
tile + fuse.

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




More information about the All-commits mailing list