[all-commits] [llvm/llvm-project] c8f213: [mlir][linalg] Add decompose to CodegenStrategy.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Nov 30 07:55:00 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8f2139eb0de70eec16901d2a7ddfdec62659685
  Author: gysit <gysit at google.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
    M mlir/test/Dialect/Linalg/decompose-convolution.mlir
    M mlir/test/Dialect/Linalg/interchange.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  [mlir][linalg] Add decompose to CodegenStrategy.

Add the decompose patterns that lower higher dimensional convolutions to lower dimensional ones to CodegenStrategy and use CodegenStrategy to test the decompose patterns. Additionally, remove the assertion that checks the anchor op name is set in the CodegenStrategyTest pass. Removing the assertion allows us to simplify the pipelines used in the interchange and decompose tests.

Depends On D114797

Reviewed By: nicolasvasilache

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

More information about the All-commits mailing list