[llvm] 84aab8b - X86SelectionDAGInfo.h - remove unnecessary includes and forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 06:22:08 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-19T14:20:53+01:00
New Revision: 84aab8b77259e6bc37199d2004127d2720e96b2f

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

LOG: X86SelectionDAGInfo.h - remove unnecessary includes and forward declarations. NFC.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86SelectionDAGInfo.h b/llvm/lib/Target/X86/X86SelectionDAGInfo.h
index 0f2d979f91e3..63ba44f1c86b 100644
--- a/llvm/lib/Target/X86/X86SelectionDAGInfo.h
+++ b/llvm/lib/Target/X86/X86SelectionDAGInfo.h
@@ -14,14 +14,9 @@
 #define LLVM_LIB_TARGET_X86_X86SELECTIONDAGINFO_H
 
 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
-#include "llvm/MC/MCRegisterInfo.h"
 
 namespace llvm {
 
-class X86TargetLowering;
-class X86TargetMachine;
-class X86Subtarget;
-
 class X86SelectionDAGInfo : public SelectionDAGTargetInfo {
   /// Returns true if it is possible for the base register to conflict with the
   /// given set of clobbers for a memory intrinsic.


        


More information about the llvm-commits mailing list