[all-commits] [llvm/llvm-project] e83380: [OpenMP] Fix clang-cl build error regarding TSX in...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Tue Mar 2 05:48:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e83380fccc2cc9842bdcfd268efddf6fce90544d
      https://github.com/llvm/llvm-project/commit/e83380fccc2cc9842bdcfd268efddf6fce90544d
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M openmp/runtime/cmake/config-ix.cmake

  Log Message:
  -----------
  [OpenMP] Fix clang-cl build error regarding TSX intrinsics

Fix for https://bugs.llvm.org/show_bug.cgi?id=49339

The CMake check for the RTM intrinsics needs the -mrtm flag to be set
during the test. This way clang-cl correctly detects it has the
_xbegin() intrinsic. Otherwise, the CMake check fails.

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




More information about the All-commits mailing list