[all-commits] [llvm/llvm-project] ed0288: [mlir][vector] Add patterns for vector distribution

Thomas via All-commits all-commits at lists.llvm.org
Fri Jun 10 10:47:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed0288f7c4a5b3bf486803a11a71cbff35aa0111
      https://github.com/llvm/llvm-project/commit/ed0288f7c4a5b3bf486803a11a71cbff35aa0111
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-06-10 (Fri, 10 Jun 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] Add patterns for vector distribution

Add pattern to hoist scalar code outside of warp distribute region as
those cannot be distributed and we would want to execute them on all
the lanes.
Add patterns to distribute transfer_write ops. Those operations can be
distributed in different ways and it is control by user.

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




More information about the All-commits mailing list