[llvm] c266776 - [X86][NFC] Remove unused feature UseAA

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 19 22:15:25 PDT 2022


Author: Shengchen Kan
Date: 2022-03-20T13:14:13+08:00
New Revision: c266776429edaa4c1a58b065952b84c58f574005

URL: https://github.com/llvm/llvm-project/commit/c266776429edaa4c1a58b065952b84c58f574005
DIFF: https://github.com/llvm/llvm-project/commit/c266776429edaa4c1a58b065952b84c58f574005.diff

LOG: [X86][NFC] Remove unused feature UseAA

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index 3b75bf6d1788c..00e89e1cefe61 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -582,10 +582,6 @@ def TuningUseGLMDivSqrtCosts
     : SubtargetFeature<"use-glm-div-sqrt-costs", "UseGLMDivSqrtCosts", "true",
         "Use Goldmont specific floating point div/sqrt costs">;
 
-// Enable use of alias analysis during code generation.
-def FeatureUseAA : SubtargetFeature<"use-aa", "UseAA", "true",
-                                    "Use alias analysis during codegen">;
-
 //===----------------------------------------------------------------------===//
 // X86 CPU Families
 // TODO: Remove these - use general tuning features to determine codegen.

diff  --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index 80c2d0db70eb0..45de5b0c5b35a 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -842,7 +842,6 @@ class X86Subtarget final : public X86GenSubtargetInfo {
   /// TODO: to be removed later and replaced with suitable properties
   bool isAtom() const { return IsAtom; }
   bool useSoftFloat() const { return UseSoftFloat; }
-  bool useAA() const override { return UseAA; }
 
   /// Use mfence if we have SSE2 or we're on x86-64 (even if we asked for
   /// no-sse2). There isn't any reason to disable it if the target processor


        


More information about the llvm-commits mailing list