[Mlir-commits] [mlir] [MLIR][OpenMP] Add `omp.private` op (PR #80955)
Kareem Ergawy
llvmlistbot at llvm.org
Tue Feb 13 02:13:18 PST 2024
ergawy wrote:
> So which phase of compilation bears the responsibility of correctly creating the `copy` region?
Good question. The way it is now is to leave that responsibility on the front-end. So in this case flang would be responsible to fill in the alloc and copy regions with logic that makes sense to the particular symbol type being privatized.
I _think_ this is the proper way since allocating or copying logic can be quite dependent on the semantics of the language being lowered.
https://github.com/llvm/llvm-project/pull/80955
More information about the Mlir-commits
mailing list