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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jul 3 05:15:09 PDT 2024


  Branch: refs/heads/users/skatrak/composite-lower-04-loop-dsp
  Home:   https://github.com/llvm/llvm-project
  Commit: 0559537f05e47d9946bfec852dd48e534afdb566
      https://github.com/llvm/llvm-project/commit/0559537f05e47d9946bfec852dd48e534afdb566
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-03 (Wed, 03 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