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

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


  Branch: refs/heads/users/ergawy/genssectionsop_uses_same_prototype
  Home:   https://github.com/llvm/llvm-project
  Commit: 781c76ad998e7c9db146c18428ea9e90acf8550d
      https://github.com/llvm/llvm-project/commit/781c76ad998e7c9db146c18428ea9e90acf8550d
  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