[flang-commits] [flang] [Flang][OpenMp] Fix to threadprivate not working with host-association. (PR #74966)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Tue Mar 12 07:25:03 PDT 2024


https://github.com/kiranchandramohan approved this pull request.

LGTM.

Thanks for the fix. In future we should move this generation of `omp.threadprivate` as a pass in MLIR. May be mark the global threadprivate variables with another OpenMP dialect operation and then go through all the places where the global variable is used and generate `omp.threadprivate` operation.

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


More information about the flang-commits mailing list