[all-commits] [llvm/llvm-project] b78c18: [NFC][flang][OpenMP] Unify `genSectionsOp`'s proto...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Jun 12 21:27:34 PDT 2025


  Branch: refs/heads/users/ergawy/genssectionsop_uses_same_prototype
  Home:   https://github.com/llvm/llvm-project
  Commit: b78c181bea74d2f35e70afd9b2c6e54223d086cf
      https://github.com/llvm/llvm-project/commit/b78c181bea74d2f35e70afd9b2c6e54223d086cf
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

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

  Log Message:
  -----------
  [NFC][flang][OpenMP] Unify `genSectionsOp`'s prototype to match other `genXXXOp` functions

Unifies the prototype of `genSectionsOp` to match other ops generators.
Doing so, we are able to call `genSectionsOp` directtly from
`genOMPDispatch` instead of the special handling needed now to pass the
section blocks. This is useful because now we can handle symbol mapping
scopes easier for nested OpenMP directives. See
https://github.com/llvm/llvm-project/pull/143706#issuecomment-2965344723
and the following discussion for more info.



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