[all-commits] [llvm/llvm-project] bd686c: [Flang][OpenMP] Fix lowering for threadprivate wit...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Fri Aug 11 09:26:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd686ca4f7a080bfecea842bd4ff81e3e3f98e72
      https://github.com/llvm/llvm-project/commit/bd686ca4f7a080bfecea842bd4ff81e3e3f98e72
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    A flang/test/Lower/OpenMP/threadprivate-hlfir.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix lowering for threadprivate with HLFIR

HLFIR inserts hlfir.declare for threadprivate variables. Seek over
the hlfir.declare to find the threadprivate global symbol.

Reviewed By: tblah

Differential Revision: https://reviews.llvm.org/D157730




More information about the All-commits mailing list