[Mlir-commits] [mlir] [mlir][gpu][SPIR-V] Emit diagnostic for gpu.barrier with unsupported cluster scope (PR #214458)

Igor Wodiany llvmlistbot at llvm.org
Mon Aug 24 01:49:27 PDT 2026


https://github.com/IgWod requested changes to this pull request.

I think using `notifyMatchFailure` is correct here. Scope not supported -> cannot be lower -> match failure. I don't see why we would need to print an error here when `notifyMatchFailure` seems to be a more idiomatic way to achieve this in the lowering.

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


More information about the Mlir-commits mailing list