[all-commits] [llvm/llvm-project] 216cae: [flang][OpenMP] Store list of expressions in Initi...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Dec 5 13:12:25 PST 2025


  Branch: refs/heads/users/kparzysz/multi-initializer
  Home:   https://github.com/llvm/llvm-project
  Commit: 216caea4122028788414545a2d5ef04dcd9a40ec
      https://github.com/llvm/llvm-project/commit/216caea4122028788414545a2d5ef04dcd9a40ec
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M llvm/include/llvm/Frontend/OpenMP/ClauseT.h

  Log Message:
  -----------
  [flang][OpenMP] Store list of expressions in InitializerT

The INITIALIZER clause holds a stylized expression that can be
intiantiated with different types. Currently, the InitializerT
class only holds one expression, which happens to correspond to
the first type in the DECLARE_REDUCTION type list.

Change InitializerT to hold a list of expressions instead, one
for each type. Keep the lowering code unchanged by picking the
first expression from the list.



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