Skip to content

Commit

Permalink
SimplifyLibCalls - remove unnecessary header and forward declaration.…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
RKSimon committed Jul 25, 2020
1 parent 3b21823 commit b5e14d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
Expand Up @@ -24,7 +24,6 @@ class CallInst;
class DataLayout;
class Instruction;
class IRBuilderBase;
class TargetLibraryInfo;
class Function;
class OptimizationRemarkEmitter;
class BlockFrequencyInfo;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit b5e14d7

Please sign in to comment.