r309314 - [Headers] Add a test for arm64intr.h
Martin Storsjo via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 12:45:13 PDT 2017
Author: mstorsjo
Date: Thu Jul 27 12:45:13 2017
New Revision: 309314
URL: http://llvm.org/viewvc/llvm-project?rev=309314&view=rev
Log:
[Headers] Add a test for arm64intr.h
This tests the ARM64 specific constants added in SVN r309081,
similar to the one added in r277928 for armintr.h.
Differential Revision: https://reviews.llvm.org/D35934
Modified:
cfe/trunk/test/Headers/ms-intrin.cpp
Modified: cfe/trunk/test/Headers/ms-intrin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/ms-intrin.cpp?rev=309314&r1=309313&r2=309314&view=diff
==============================================================================
--- cfe/trunk/test/Headers/ms-intrin.cpp (original)
+++ cfe/trunk/test/Headers/ms-intrin.cpp Thu Jul 27 12:45:13 2017
@@ -64,4 +64,8 @@ void f() {
#ifdef _M_ARM
__dmb(_ARM_BARRIER_ISHST);
#endif
+
+#ifdef _M_ARM64
+ __dmb(_ARM64_BARRIER_SY);
+#endif
}
More information about the cfe-commits
mailing list