[PATCH] D35934: [Headers] Add a test for arm64intr.h
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 03:11:03 PDT 2017
mstorsjo created this revision.
Herald added subscribers: kristof.beyls, aemerson.
This tests the ARM64 specific constants added in SVN r309081, similar to the one added in r277928 for armintr.h.
https://reviews.llvm.org/D35934
Files:
test/Headers/ms-intrin.cpp
Index: test/Headers/ms-intrin.cpp
===================================================================
--- test/Headers/ms-intrin.cpp
+++ test/Headers/ms-intrin.cpp
@@ -64,4 +64,8 @@
#ifdef _M_ARM
__dmb(_ARM_BARRIER_ISHST);
#endif
+
+#ifdef _M_ARM64
+ __dmb(_ARM64_BARRIER_SY);
+#endif
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35934.108438.patch
Type: text/x-patch
Size: 294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170727/6b839372/attachment.bin>
More information about the cfe-commits
mailing list