[all-commits] [llvm/llvm-project] f385f6: [mlir][vector] Distribute all non-permutation or b...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Mon Nov 27 13:24:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f385f6c93b33eff211523e7838ea023d7beee3f2
      https://github.com/llvm/llvm-project/commit/f385f6c93b33eff211523e7838ea023d7beee3f2
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

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

  Log Message:
  -----------
  [mlir][vector] Distribute all non-permutation or broadcasted masked transfer reads (#73539)

The primary difficulty with distribution of masked transfers is when the
permutation map permutes the vector, in which case the distribution
logic needs to make sure the correct mask elements end up with the
distributed transfer. This is only tricky when the permutation map has a
permutation in it, so we can relax the condition for distribution.




More information about the All-commits mailing list