[Mlir-commits] [mlir] [mlir][gpu] Eliminate redundant gpu.barrier ops (PR #71575)

Guray Ozen llvmlistbot at llvm.org
Thu Nov 9 06:27:11 PST 2023


grypp wrote:

I'd say that removing barriers can be considered a part of canonicalization, which helps the compiler reason about the code (we have passes that acts based on number of barriers and etc.). However, I agree that we should not be calling an expensive pass too frequently in the pipeline. 

I found this discussion valuable. Thanks for taking the time to discuss it.

https://github.com/llvm/llvm-project/pull/71575


More information about the Mlir-commits mailing list