[llvm] r294406 - [X86] Remove the VMFUNC feature flag. It was only partially implemented and we have no support for codegening vmfunc instructions today.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 21:45:42 PST 2017


Author: ctopper
Date: Tue Feb  7 23:45:42 2017
New Revision: 294406

URL: http://llvm.org/viewvc/llvm-project?rev=294406&view=rev
Log:
[X86] Remove the VMFUNC feature flag. It was only partially implemented and we have no support for codegening vmfunc instructions today.

If that support ever gets added, the full feature flag support should come along with it.

Modified:
    llvm/trunk/lib/Target/X86/X86.td
    llvm/trunk/lib/Target/X86/X86Subtarget.h

Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=294406&r1=294405&r2=294406&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Tue Feb  7 23:45:42 2017
@@ -217,8 +217,6 @@ def FeaturePadShortFunctions : Subtarget
                                      "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<IVBF
   FeatureLZCNT,
   FeatureMOVBE,
   FeatureINVPCID,
-  FeatureVMFUNC,
   FeatureRTM,
   FeatureHLE,
   FeatureSlowIncDec

Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.h?rev=294406&r1=294405&r2=294406&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.h Tue Feb  7 23:45:42 2017
@@ -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;
 




More information about the llvm-commits mailing list