]> granicus.if.org Git - llvm/commitdiff
[X86] Remove the VMFUNC feature flag. It was only partially implemented and we have...
authorCraig Topper <craig.topper@gmail.com>
Wed, 8 Feb 2017 05:45:42 +0000 (05:45 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 8 Feb 2017 05:45:42 +0000 (05:45 +0000)
If that support ever gets added, the full feature flag support should come along with it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294406 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td
lib/Target/X86/X86Subtarget.h

index a547318a97dff8e58afca7d3540c1fc63200dba6..fddf04f276bf559859ed6c77b176a764e68778a9 100644 (file)
@@ -217,8 +217,6 @@ def FeaturePadShortFunctions : SubtargetFeature<"pad-short-functions",
                                      "Pad short functions">;
 def FeatureINVPCID : SubtargetFeature<"invpcid", "HasInvPCId", "true",
                                       "Invalidate Process-Context Identifier">;
-def FeatureVMFUNC  : SubtargetFeature<"vmfunc", "HasVMFUNC", "true",
-                                      "VM Functions">;
 def FeatureSMAP    : SubtargetFeature<"smap", "HasSMAP", "true",
                                       "Supervisor Mode Access Protection">;
 def FeatureSGX     : SubtargetFeature<"sgx", "HasSGX", "true",
@@ -497,7 +495,6 @@ def HSWFeatures : ProcessorFeatures<IVBFeatures.Value, [
   FeatureLZCNT,
   FeatureMOVBE,
   FeatureINVPCID,
-  FeatureVMFUNC,
   FeatureRTM,
   FeatureHLE,
   FeatureSlowIncDec
index 4ba556a0bcbaf0cde71bad58eafecee4a8ee9600..f9ae5a4fc2d3d0db3825ad5469d54d3c0084508d 100644 (file)
@@ -274,9 +274,6 @@ protected:
   /// Processor supports Invalidate Process-Context Identifier
   bool HasInvPCId;
 
-  /// Processor has VM Functions
-  bool HasVMFUNC;
-
   /// Processor has Supervisor Mode Access Protection
   bool HasSMAP;