[llvm] 14c59b4 - [X86] Remove getProcFamily() method from X86Subtarget. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 25 22:52:55 PDT 2020


Author: Craig Topper
Date: 2020-07-25T22:11:45-07:00
New Revision: 14c59b4577658655e56671bf2f17cca9c0d952d9

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

LOG: [X86] Remove getProcFamily() method from X86Subtarget. NFC

This isn't used and we've decided in the past that a CPU enum
for tuning is not a good idea.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index 54d7fbef7f94..5b5ab4b969aa 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -787,8 +787,6 @@ class X86Subtarget final : public X86GenSubtargetInfo {
 
   bool isXRaySupported() const override { return is64Bit(); }
 
-  X86ProcFamilyEnum getProcFamily() const { return X86ProcFamily; }
-
   /// TODO: to be removed later and replaced with suitable properties
   bool isAtom() const { return X86ProcFamily == IntelAtom; }
   bool isSLM() const { return X86ProcFamily == IntelSLM; }


        


More information about the llvm-commits mailing list