[PATCH] D45057: [X86] Disable SGX for Skylake Server

Gabor Buella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 10 07:02:31 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL329700: [X86] Disable SGX for Skylake Server (authored by GBuella, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D45057

Files:
  llvm/trunk/lib/Target/X86/X86.td


Index: llvm/trunk/lib/Target/X86/X86.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86.td
+++ llvm/trunk/lib/Target/X86/X86.td
@@ -713,16 +713,16 @@
   FeatureRTM,
   FeatureXSAVEC,
   FeatureXSAVES,
-  FeatureSGX,
   FeatureCLFLUSHOPT,
   FeatureFastVectorFSQRT
 ]>;
 
 class SkylakeClientProc<string Name> : ProcModel<Name, SkylakeClientModel,
                                                  SKLFeatures.Value, [
   ProcIntelSKL,
   FeatureHasFastGather,
-  FeaturePOPCNTFalseDeps
+  FeaturePOPCNTFalseDeps,
+  FeatureSGX
 ]>;
 def : SkylakeClientProc<"skylake">;
 
@@ -790,7 +790,8 @@
   FeaturePKU,
   FeatureVBMI,
   FeatureIFMA,
-  FeatureSHA
+  FeatureSHA,
+  FeatureSGX
 ]>;
 
 class CannonlakeProc<string Name> : ProcModel<Name, SkylakeServerModel,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45057.141837.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180410/e87015ad/attachment.bin>


More information about the llvm-commits mailing list