[all-commits] [llvm/llvm-project] 5ce4d4: [mlir] fix memory effects in GPU barrier eliminati...

ftynse via All-commits all-commits at lists.llvm.org
Sun Nov 24 14:25:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ce4d4c77517f1bc9ad11b2637056b870f2bd156
      https://github.com/llvm/llvm-project/commit/5ce4d4c77517f1bc9ad11b2637056b870f2bd156
  Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
  Date:   2024-11-24 (Sun, 24 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/GPU/Transforms/EliminateBarriers.cpp
    M mlir/test/Dialect/GPU/barrier-elimination.mlir

  Log Message:
  -----------
  [mlir] fix memory effects in GPU barrier elimination (#117432)

Existing implementation may trigger infinite cycles when collecting
effects above or below the current block after wrapping around a
loop-like construct. Limit this case to only looking at the immediate
block (loop body). This is correct because wrap around is intended to
consider effects of different iterations of the same loop and shouldn't
be existing the loop block.

Reported-by: Fabian Mora <fmora.dev at gmail.com>
Co-authored-by: Fabian Mora <fmora.dev at gmail.com>



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