[PATCH] D45488: [X86] Disable SGX for Skylake Server - CPP test

Gabor Buella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 07:46:39 PDT 2018


GBuella created this revision.
GBuella added reviewers: craig.topper, davezarzycki.
Herald added a subscriber: cfe-commits.

Fix test case - corresponding to r329701


Repository:
  rC Clang

https://reviews.llvm.org/D45488

Files:
  test/Preprocessor/predefined-arch-macros.c


Index: test/Preprocessor/predefined-arch-macros.c
===================================================================
--- test/Preprocessor/predefined-arch-macros.c
+++ test/Preprocessor/predefined-arch-macros.c
@@ -663,7 +663,7 @@
 // CHECK_SKL_M32: #define __RDRND__ 1
 // CHECK_SKL_M32: #define __RDSEED__ 1
 // CHECK_SKL_M32: #define __RTM__ 1
-// CHECK_SKL_M32: #define __SGX__ 1
+// CHECK_SKL_M32-NOT: #define __SGX__ 1
 // CHECK_SKL_M32: #define __SSE2__ 1
 // CHECK_SKL_M32: #define __SSE3__ 1
 // CHECK_SKL_M32: #define __SSE4_1__ 1
@@ -697,7 +697,7 @@
 // CHECK_SKL_M64: #define __RDRND__ 1
 // CHECK_SKL_M64: #define __RDSEED__ 1
 // CHECK_SKL_M64: #define __RTM__ 1
-// CHECK_SKL_M64: #define __SGX__ 1
+// CHECK_SKL_M64-NOT: #define __SGX__ 1
 // CHECK_SKL_M64: #define __SSE2_MATH__ 1
 // CHECK_SKL_M64: #define __SSE2__ 1
 // CHECK_SKL_M64: #define __SSE3__ 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45488.141849.patch
Type: text/x-patch
Size: 875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180410/781c2f8b/attachment.bin>


More information about the cfe-commits mailing list