[all-commits] [llvm/llvm-project] 7517e2: [mlir][linalg] Promote operands for convolution ve...

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Apr 17 16:37:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7517e246aca2c410dba01ff1419596d7eef4a7e6
      https://github.com/llvm/llvm-project/commit/7517e246aca2c410dba01ff1419596d7eef4a7e6
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorize-convolution.mlir

  Log Message:
  -----------
  [mlir][linalg] Promote operands for convolution vectorization

We are already doing this for depthwise convolution and pooling.
This helps to preserve the promotion semantics from Linalg op
definitions to lower layers.

Along the way, fixed the type mismatch issue in the existing
`promote` implementation.

Reviewed By: kuhar

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




More information about the All-commits mailing list