[all-commits] [llvm/llvm-project] 498c4b: [OpenMP] libomp: fix build by clang-cl with vs2019

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Wed Jan 27 01:19:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 498c4b6fc45ae4704a7f93bd03e018392bb87945
      https://github.com/llvm/llvm-project/commit/498c4b6fc45ae4704a7f93bd03e018392bb87945
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M openmp/runtime/src/z_Windows_NT_util.cpp

  Log Message:
  -----------
  [OpenMP] libomp: fix build by clang-cl with vs2019

Problem reported by Joseph Shen <joseph.smeng at gmail.com>.
The patch changes *(&<atomic-var>) to (&<atomic-var>)->load().

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




More information about the All-commits mailing list