[Openmp-commits] [PATCH] D97413: [OpenMP] Fix clang-cl build error regarding TSX intrinsics

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 25 09:37:46 PST 2021


jlpeyton added a comment.

In D97413#2587137 <https://reviews.llvm.org/D97413#2587137>, @hans wrote:

> Oh, and I just realized: just because my machine supports RTM doesn't necessarily mean we want to use it, since these builds will then be used on all kinds of machines. This might be a bigger problem with the runtime's build config though.

I think only the build compiler needs to support the instructions, not your machine.
This shouldn't cause a problem since the RTM instrinsics are only used inside a specific lock kind which the user must select using an environment variable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97413/new/

https://reviews.llvm.org/D97413



More information about the Openmp-commits mailing list