[all-commits] [llvm/llvm-project] afad0c: [mlir][vector] Refactor linalg vectorization for r...

Thomas via All-commits all-commits at lists.llvm.org
Thu Oct 14 13:38:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afad0cdf31e8fe37fc805b36a2a57c4a8db8e5f7
      https://github.com/llvm/llvm-project/commit/afad0cdf31e8fe37fc805b36a2a57c4a8db8e5f7
  Author: thomasraoux <thomasraoux at google.com>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][vector] Refactor linalg vectorization for reductions

Emit reduction during op vectorization instead of doing it when creating the
transfer write. This allow us to not broadcast output arguments for reduction
initial value.

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




More information about the All-commits mailing list