From 9f726376e34e27170fb6cd4e5e72dfff4026c1cd Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 8 May 2020 14:57:35 +0100 Subject: [PATCH] LiveIntervalCalc - remove unnecessary includes. NFC. As we're inheriting from LiveRangeCalc, all the headers are already explicitly required by LiveRangeCalc.h --- llvm/include/llvm/CodeGen/LiveIntervalCalc.h | 13 ------------- llvm/lib/CodeGen/LiveIntervalCalc.cpp | 1 - 2 files changed, 14 deletions(-) diff --git a/llvm/include/llvm/CodeGen/LiveIntervalCalc.h b/llvm/include/llvm/CodeGen/LiveIntervalCalc.h index 88e48e3..76005e8 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalCalc.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalCalc.h @@ -17,24 +17,11 @@ #ifndef LLVM_LIB_CODEGEN_LIVEINTERVALCALC_H #define LLVM_LIB_CODEGEN_LIVEINTERVALCALC_H -#include "llvm/ADT/ArrayRef.h" -#include "llvm/ADT/BitVector.h" -#include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/IndexedMap.h" -#include "llvm/ADT/SmallVector.h" -#include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/LiveRangeCalc.h" -#include "llvm/CodeGen/MachineBasicBlock.h" -#include "llvm/CodeGen/SlotIndexes.h" -#include "llvm/MC/LaneBitmask.h" -#include namespace llvm { template class DomTreeNodeBase; -class MachineDominatorTree; -class MachineFunction; -class MachineRegisterInfo; using MachineDomTreeNode = DomTreeNodeBase; diff --git a/llvm/lib/CodeGen/LiveIntervalCalc.cpp b/llvm/lib/CodeGen/LiveIntervalCalc.cpp index 7f2daf3..30c2d74 100644 --- a/llvm/lib/CodeGen/LiveIntervalCalc.cpp +++ b/llvm/lib/CodeGen/LiveIntervalCalc.cpp @@ -11,7 +11,6 @@ //===----------------------------------------------------------------------===// #include "llvm/CodeGen/LiveIntervalCalc.h" -#include "llvm/ADT/BitVector.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" -- 2.7.4