[all-commits] [llvm/llvm-project] a800ff: [mlir][gpu] Disjoint patterns for lowering cluster...

Andrea Faulds via All-commits all-commits at lists.llvm.org
Wed Sep 18 12:56:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a800ffac4115259a76d803512eda31e4de787570
      https://github.com/llvm/llvm-project/commit/a800ffac4115259a76d803512eda31e4de787570
  Author: Andrea Faulds <andrea.faulds at amd.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
    M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
    M mlir/test/lib/Dialect/GPU/TestGpuRewrite.cpp

  Log Message:
  -----------
  [mlir][gpu] Disjoint patterns for lowering clustered subgroup reduce (#109158)

Making the existing populateGpuLowerSubgroupReduceToShufflePatterns()
function also cover the new "clustered" subgroup reductions is proving
to be inconvenient, because certain backends may have more specific
lowerings that only cover the non-clustered type, and this creates pass
ordering constraints. This commit removes coverage of clustered
reductions from this function in favour of a new separate function,
which makes controlling the lowering much more straightforward.



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