diff options
author | Alvin Wong <alvin@alvinhc.com> | 2022-11-05 00:22:50 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-11-08 15:27:03 +0200 |
commit | a356782426f5bf54a00570e1f925345e5fda7b2e (patch) | |
tree | 6a6ca4eee5ef26c747fddd32887f8bbd74c7d53e /llvm/unittests/ADT/SmallVectorTest.cpp | |
parent | df766fb65cc939bd88c25cb8e478b07f7b4ce123 (diff) | |
download | llvm-a356782426f5bf54a00570e1f925345e5fda7b2e.zip llvm-a356782426f5bf54a00570e1f925345e5fda7b2e.tar.gz llvm-a356782426f5bf54a00570e1f925345e5fda7b2e.tar.bz2 |
[OpenMP][mingw] Fix build for aarch64 target
This patch changes AArch64 + `__GNUC__` to use `__sync` builtins to
implement internal atomic macros just like for Unix, because mingw-w64
is missing some of the intrinsics which the MSVC codepath is using.
Then some remaining intel-only functions are removed from dllexport to
fix linking.
This should fix https://github.com/llvm/llvm-project/issues/56349.
Reviewed By: natgla
Differential Revision: https://reviews.llvm.org/D137168
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions