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

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Fri Mar 5 09:24:02 PST 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 99350dcc3f5b46d564338c0067c2cbd139b841ee
      https://github.com/llvm/llvm-project/commit/99350dcc3f5b46d564338c0067c2cbd139b841ee
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-03-05 (Fri, 05 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

(cherry picked from commit e83380fccc2cc9842bdcfd268efddf6fce90544d)




More information about the All-commits mailing list