[all-commits] [llvm/llvm-project] 91f62f: [mlir][vector] Fix distribution of scf.for with va...

Thomas via All-commits all-commits at lists.llvm.org
Tue Nov 1 21:16:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91f62f0e352a4f5c755f1cbec6f27e40a60ff109
      https://github.com/llvm/llvm-project/commit/91f62f0e352a4f5c755f1cbec6f27e40a60ff109
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/Transforms/VectorDistribution.h
    M mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
    M mlir/test/Dialect/Vector/vector-warp-distribute.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Fix distribution of scf.for with value coming from above

When a value used in the forOp is defined outside the region but within
the parent warpOp we need to return and distribute the value to pass it
to new operations created within the loop.
Also simplify the lambda interface.

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




More information about the All-commits mailing list