[llvm] 9ad6773 - SelectionDAGISel.h - remove Pass.h include and forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 05:37:36 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-12T12:49:29+01:00
New Revision: 9ad67737907e2a91f6e4c1403aae75e8e6a8dfb8

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

LOG: SelectionDAGISel.h - remove Pass.h include and forward declarations. NFC.

Remove Pass.h include - we don't use anything direct from the header and its implicitly included by MachineFunctionPass.h.
Remove unused forward declarations.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/SelectionDAGISel.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
index b42bf7a7c36a..3bfbf3765e4f 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
@@ -18,29 +18,21 @@
 #include "llvm/CodeGen/SelectionDAG.h"
 #include "llvm/CodeGen/TargetSubtargetInfo.h"
 #include "llvm/IR/BasicBlock.h"
-#include "llvm/Pass.h"
 #include <memory>
 
 namespace llvm {
 class AAResults;
-class FastISel;
 class SelectionDAGBuilder;
 class SDValue;
 class MachineRegisterInfo;
-class MachineBasicBlock;
 class MachineFunction;
-class MachineInstr;
 class OptimizationRemarkEmitter;
 class TargetLowering;
 class TargetLibraryInfo;
 class FunctionLoweringInfo;
-class ScheduleHazardRecognizer;
 class SwiftErrorValueTracking;
 class GCFunctionInfo;
 class ScheduleDAGSDNodes;
-class LoadInst;
-class ProfileSummaryInfo;
-class BlockFrequencyInfo;
 
 /// SelectionDAGISel - This is the common base class used for SelectionDAG-based
 /// pattern-matching instruction selectors.


        


More information about the llvm-commits mailing list