[Mlir-commits] [mlir] [GPUToLLVMSPV] Reject module-scope gpu.barrier during LLVM-SPIRV lowering (PR #187377)

Longsheng Mou llvmlistbot at llvm.org
Fri Mar 27 01:37:29 PDT 2026


CoTinker wrote:

I believe this IR is invalid, as `gpu.barrier` is required to reside inside a function body. To enforce this, we should add a verifier for `gpu.barrier`.

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


More information about the Mlir-commits mailing list