[all-commits] [llvm/llvm-project] 7c97e3: [mlir][linalg] Fix generic reduction vectorization

Thomas via All-commits all-commits at lists.llvm.org
Tue Oct 12 15:47:15 PDT 2021


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

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

  Log Message:
  -----------
  [mlir][linalg] Fix generic reduction vectorization

We shouldn't broadcast the original value when doing reduction. Instead
we compute the reduction and then combine it with the original value.

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




More information about the All-commits mailing list