[all-commits] [llvm/llvm-project] 1462e6: [OPENMP]PR53344: Emit code for final update of the...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Apr 28 10:42:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1462e63f67a965defec035c3bc17a5ddeb366964
      https://github.com/llvm/llvm-project/commit/1462e63f67a965defec035c3bc17a5ddeb366964
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/parallel_for_scan_codegen.cpp

  Log Message:
  -----------
  [OPENMP]PR53344: Emit code for final update of the inscan reduction vars in worksharing loops.

Need to emit final update of the inscan reduction variables. For
worksharing loops, the reduction values are stored in the temp array,
need to copy the last element to the original var at the end of the
construct.

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




More information about the All-commits mailing list