[all-commits] [llvm/llvm-project] 1e8834: [mlir][vector][xegpu] Accept uniform values in `ge...

Charitha Saumya via All-commits all-commits at lists.llvm.org
Wed Oct 22 08:42:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e8834ea3ab770bf7befa3fae917f2c686d00e3b
      https://github.com/llvm/llvm-project/commit/1e8834ea3ab770bf7befa3fae917f2c686d00e3b
  Author: Charitha Saumya <136391709+charithaintc at users.noreply.github.com>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
    M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir

  Log Message:
  -----------
  [mlir][vector][xegpu] Accept uniform values in `getDistributedType` (#163887)

Uniform values should not be distributed during vector distribution.
Example would be a reduction result where reduction happens across
lanes.

However, current `getDistributedType` does not accept a zero result
affine map (i.e. no distributed dims) when describing the distributed
dimensions. This result in null type being returned and crashing the
vector distribution in some cases. An example case would be a `scf.for`
op (about to be distributed) in which one of the for result is a uniform
value and it does not have a user outside the warp op. This necessitates
querying the `getDistributedType` to figure our the distributed type of
this value.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list