[all-commits] [llvm/llvm-project] 99aea2: [Flang][OpenMP] Skip threadprivate HostAssoc symbo...

Thirumalai Shaktivel via All-commits all-commits at lists.llvm.org
Wed Feb 19 00:47:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99aea2176ba2327264501befbbd8dc6da4d64f94
      https://github.com/llvm/llvm-project/commit/99aea2176ba2327264501befbbd8dc6da4d64f94
  Author: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel at users.noreply.github.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Lower/OpenMP/threadprivate-hlfir.f90

  Log Message:
  -----------
  [Flang][OpenMP] Skip threadprivate HostAssoc symbols for default privatization (#127754)

Issue: Compilation abnormally terminates in parallel default(private)

Documentation reference:
A threadprivate variable must not appear as the base variable of a list
item in any clause except for the copyin and copyprivate clauses

Explanation:
>From the reference, the threadprivate symbols cannot be used in the DSA
clauses, which in turn means, the symbol can be skipped for default 
privatization

Fixes #123535



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list