Skip to content

Commit c266776

Browse files
committed
[X86][NFC] Remove unused feature UseAA
1 parent 076a9dc commit c266776

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,6 @@ def TuningUseGLMDivSqrtCosts
582582
: SubtargetFeature<"use-glm-div-sqrt-costs", "UseGLMDivSqrtCosts", "true",
583583
"Use Goldmont specific floating point div/sqrt costs">;
584584

585-
// Enable use of alias analysis during code generation.
586-
def FeatureUseAA : SubtargetFeature<"use-aa", "UseAA", "true",
587-
"Use alias analysis during codegen">;
588-
589585
//===----------------------------------------------------------------------===//
590586
// X86 CPU Families
591587
// TODO: Remove these - use general tuning features to determine codegen.

llvm/lib/Target/X86/X86Subtarget.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,6 @@ class X86Subtarget final : public X86GenSubtargetInfo {
842842
/// TODO: to be removed later and replaced with suitable properties
843843
bool isAtom() const { return IsAtom; }
844844
bool useSoftFloat() const { return UseSoftFloat; }
845-
bool useAA() const override { return UseAA; }
846845

847846
/// Use mfence if we have SSE2 or we're on x86-64 (even if we asked for
848847
/// no-sse2). There isn't any reason to disable it if the target processor

0 commit comments

Comments
 (0)