[all-commits] [llvm/llvm-project] 146c3e: [mlir] Add support for parallel dim *after* reduct...

Murali Vijayaraghavan via All-commits all-commits at lists.llvm.org
Wed Sep 28 18:24:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 146c3ea0755b05bf764f0a4f80e6aa75005e1351
      https://github.com/llvm/llvm-project/commit/146c3ea0755b05bf764f0a4f80e6aa75005e1351
  Author: Murali Vijayaraghavan <muralivi at google.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp
    M mlir/test/Dialect/Linalg/split_reduction.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir] Add support for parallel dim *after* reduction dim in split reduction

Previously, splitReduction transformation added the split parallel dimension
*before* the reduction dimension, leading to tiling for reduction. This
commit creates an option to create the parallel dimension *after* the
reduction dimension, allowing us to transform the op into vertical reduction
with SIMD parallelism.

Reviewed By: ThomasRaoux, dcaballe

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




More information about the All-commits mailing list