summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-02-08 05:45:42 +0000
committerCraig Topper <craig.topper@gmail.com>2017-02-08 05:45:42 +0000
commit6c05192018e18bfe6e3cc54f0a74b5710b5a5f61 (patch)
tree71031179e00e49925515cd0952f1bbea56dbde7b /llvm/lib
parente0ac7f3beb4eb60e3124983ceeebcb966e06fb0e (diff)
downloadbcm5719-llvm-6c05192018e18bfe6e3cc54f0a74b5710b5a5f61.tar.gz
bcm5719-llvm-6c05192018e18bfe6e3cc54f0a74b5710b5a5f61.zip
[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. llvm-svn: 294406
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86.td3
-rw-r--r--llvm/lib/Target/X86/X86Subtarget.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index a547318a97d..fddf04f276b 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -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
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index 4ba556a0bcb..f9ae5a4fc2d 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -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;
OpenPOWER on IntegriCloud