SimplifyLibCalls - remove unnecessary header and forward declaration. NFC.

We include TargetLibraryInfo.h so don't need to forward declare it, and we don't need to include TargetLibraryInfo.h in SimplifyLibCalls.cpp as well.
This commit is contained in:
Simon Pilgrim 2020-07-25 12:58:39 +01:00
parent 3b21823e4a
commit b5e14d78f1
2 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ class CallInst;
class DataLayout;
class Instruction;
class IRBuilderBase;
class TargetLibraryInfo;
class Function;
class OptimizationRemarkEmitter;
class BlockFrequencyInfo;

View File

@ -20,7 +20,6 @@
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Analysis/CaptureTracking.h"