[PATCH] D64164: [clang][ARM] Fix msvc arm{64} builtins to use int on LLP64 systems.
Michael Spencer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 15:55:16 PDT 2019
Bigcheese created this revision.
Bigcheese added reviewers: bruno, rnk, bkelley.
Herald added subscribers: kristina, jfb, dexonsmith, kristof.beyls, javed.absar.
Herald added a project: clang.
The `InterlockedX_{acq,nf,rel}` functions deal with 32 bits which is long on
MSVC, but int on most other systems.
This also checks that `ReadStatusRegister` and `WriteStatusRegister` have
the correct type on aarch64-darwin.
Repository:
rC Clang
https://reviews.llvm.org/D64164
Files:
include/clang/Basic/BuiltinsAArch64.def
include/clang/Basic/BuiltinsARM.def
test/CodeGen/arm64-microsoft-status-reg.cpp
test/CodeGen/ms-intrinsics-other.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64164.207907.patch
Type: text/x-patch
Size: 33455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190703/04bd853d/attachment-0001.bin>
More information about the cfe-commits
mailing list