[all-commits] [llvm/llvm-project] 7641e4: [OpenMP][Tools] Fix handling of initial-task-end

Joachim via All-commits all-commits at lists.llvm.org
Thu Mar 31 10:34:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7641e42def02f228dc9e907094353c3ac55d5226
      https://github.com/llvm/llvm-project/commit/7641e42def02f228dc9e907094353c3ac55d5226
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M openmp/tools/archer/ompt-tsan.cpp

  Log Message:
  -----------
  [OpenMP][Tools] Fix handling of initial-task-end

Latest OpenMP spec says parallel_data is NULL for initial/implicit-task-end.
We nevertheless need to cleanup the ParallelData here, as there is no other
callback for the end of the implicit parallel region. We can use the reference
stored in the TaskData.

Reviewed By: dreachem

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




More information about the All-commits mailing list