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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Mon Jun 16 21:08:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7caeec599998bd8aa01d498574e148e4e9c982db
      https://github.com/llvm/llvm-project/commit/7caeec599998bd8aa01d498574e148e4e9c982db
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-06-17 (Tue, 17 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 (#144013)

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