[all-commits] [llvm/llvm-project] 33ce15: [flang][OpenMP] Pass semantics context to all gene...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Feb 9 09:33:12 PST 2024


  Branch: refs/reviewable/pr81269/r1
  Home:   https://github.com/llvm/llvm-project
  Commit: 33ce15d47626f6bcc5655d4d6eea915f3ea3b877
      https://github.com/llvm/llvm-project/commit/33ce15d47626f6bcc5655d4d6eea915f3ea3b877
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M flang/include/flang/Lower/OpenMP.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP.cpp

  Log Message:
  -----------
  [flang][OpenMP] Pass semantics context to all generating functions in lower

The convention is to pass it after "symTable" if present, otherwise after
"converter":
- converter, symTable, semaCtx
- converter, semaCtx

This makes the interfaces more uniform---some of these functions were
already taking the semantics context, while others were not.

The context will be used in future patches.




More information about the All-commits mailing list