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