[all-commits] [llvm/llvm-project] c8bf44: [Flang][OpenMP] NFC: Share DataSharingProcessor cr...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Jul 5 02:17:19 PDT 2024


  Branch: refs/heads/users/skatrak/composite-lower-04-loop-dsp
  Home:   https://github.com/llvm/llvm-project
  Commit: c8bf447e9ce66efd202c2cc5b88a1c554aca0861
      https://github.com/llvm/llvm-project/commit/c8bf447e9ce66efd202c2cc5b88a1c554aca0861
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp

  Log Message:
  -----------
  [Flang][OpenMP] NFC: Share DataSharingProcessor creation logic for all loop directives

This patch moves the logic associated with the creation of a
`DataSharingProcessor` instance for loop-associated OpenMP leaf constructs to
the `genOMPDispatch` function, avoiding code duplication for standalone and
composite loop constructs.

This also prevents privatization-related allocations to be later made inside of
loop wrappers when support for composite constructs is implemented.



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