Skip to content

Commit

Permalink
RegionInfo.cpp - remove duplicate includes that already exist in Regi…
Browse files Browse the repository at this point in the history
…onInfo.h. NFC.

Also remove some unnecessary forward declarations in RegionInfo.h.
  • Loading branch information
RKSimon committed Jul 23, 2020
1 parent 0025d52 commit 7eb2134
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions llvm/include/llvm/Analysis/RegionInfo.h
Expand Up @@ -59,7 +59,6 @@
namespace llvm {

class DominanceFrontier;
class DominatorTree;
class Loop;
class LoopInfo;
class PostDominatorTree;
Expand Down Expand Up @@ -877,8 +876,6 @@ class RegionInfoBase {
void verifyAnalysis() const;
};

class Region;

class RegionNode : public RegionNodeBase<RegionTraits<Function>> {
public:
inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false)
Expand Down
3 changes: 0 additions & 3 deletions llvm/lib/Analysis/RegionInfo.cpp
Expand Up @@ -17,11 +17,8 @@
#include "llvm/Analysis/RegionInfoImpl.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"

using namespace llvm;

Expand Down

0 comments on commit 7eb2134

Please sign in to comment.