Skip to content

Commit ebe5f17

Browse files
committed
[X86] Remove the DeprecatedMPX feature flag.
We deprecated mpx feature in 10.0. I left this feature flag in case someone still had IR files containing the feature in a target-feature attribute. At the time I think I thought it would fail the test if the feature couldn't be found. Further review suggests that at worst it prints a message to stderr about ignoring the feature.
1 parent 724bf4e commit ebe5f17

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

llvm/lib/Target/X86/X86.td

-5
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ def FeatureCLDEMOTE : SubtargetFeature<"cldemote", "HasCLDEMOTE", "true",
244244
"Enable Cache Demote">;
245245
def FeaturePTWRITE : SubtargetFeature<"ptwrite", "HasPTWRITE", "true",
246246
"Support ptwrite instruction">;
247-
// FIXME: This feature is deprecated in 10.0 and should not be used for
248-
// anything, but removing it would break IR files that may contain it in a
249-
// target-feature attribute.
250-
def FeatureDeprecatedMPX : SubtargetFeature<"mpx", "DeprecatedHasMPX", "false",
251-
"Deprecated. Support MPX instructions">;
252247
def FeatureAMXTILE : SubtargetFeature<"amx-tile", "HasAMXTILE", "true",
253248
"Support AMX-TILE instructions">;
254249
def FeatureAMXINT8 : SubtargetFeature<"amx-int8", "HasAMXINT8", "true",

llvm/lib/Target/X86/X86Subtarget.h

-3
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,6 @@ class X86Subtarget final : public X86GenSubtargetInfo {
366366
/// Processor has AVX-512 vp2intersect instructions
367367
bool HasVP2INTERSECT = false;
368368

369-
/// Deprecated flag for MPX instructions.
370-
bool DeprecatedHasMPX = false;
371-
372369
/// Processor supports CET SHSTK - Control-Flow Enforcement Technology
373370
/// using Shadow Stack
374371
bool HasSHSTK = false;

0 commit comments

Comments
 (0)