[Mlir-commits] [mlir] [OpenMP][mlir] Add Groupprivate op in omp dialect. (PR #162704)
Sergio Afonso
llvmlistbot at llvm.org
Mon Apr 13 04:49:11 PDT 2026
================
----------------
skatrak wrote:
Nit: Move the optional device type printing somewhere before the return type, to help readability.
```mlir
// Currently
%any_gp = omp.groupprivate @global_any : !llvm.ptr, device_type(any)
// Proposed change
%any_gp = omp.groupprivate device_type(any) @global_any : !llvm.ptr
%any_gp = omp.groupprivate @global_any device_type(any) : !llvm.ptr
```
https://github.com/llvm/llvm-project/pull/162704
More information about the Mlir-commits
mailing list