Skip to content

Commit 03f05a4

Browse files
committed
[IR] Don't include GenericDomTreeConstruction.h in header (NFC)
The whole point of the GenericDomTree.h vs GenericDomTreeConstruction.h distinction is that the latter only needs to be included in the source file and not the header.
1 parent 06e733b commit 03f05a4

File tree

5 files changed

+4
-1
lines changed

5 files changed

+4
-1
lines changed

llvm/include/llvm/IR/Dominators.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include "llvm/Support/CFGDiff.h"
3434
#include "llvm/Support/CFGUpdate.h"
3535
#include "llvm/Support/GenericDomTree.h"
36-
#include "llvm/Support/GenericDomTreeConstruction.h"
3736
#include <algorithm>
3837
#include <utility>
3938
#include <vector>

llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <assert.h>
2626
#include <cstdint>
2727
#include <optional>
28+
#include <queue>
2829
#include <sstream>
2930
#include <unordered_map>
3031

llvm/lib/IR/Dominators.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "llvm/PassRegistry.h"
2626
#include "llvm/Support/Casting.h"
2727
#include "llvm/Support/CommandLine.h"
28+
#include "llvm/Support/GenericDomTreeConstruction.h"
2829
#include "llvm/Support/raw_ostream.h"
2930

3031
#include <cassert>

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "llvm/Support/CommandLine.h"
3131
#include "llvm/Transforms/Utils/Local.h"
3232
#include <numeric>
33+
#include <queue>
3334

3435
#define DEBUG_TYPE "vector-combine"
3536
#include "llvm/Transforms/Utils/InstructionWorklist.h"

llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "llvm/IR/InstIterator.h"
1515
#include "llvm/IR/Instructions.h"
1616
#include "llvm/IR/Operator.h"
17+
#include <queue>
1718

1819
using namespace llvm;
1920

0 commit comments

Comments
 (0)