Skip to content

Commit b8dcf53

Browse files
authored
[llvm] add missing #include of Compiler.h (#141780)
Fixes a build break introduced in #136623. There were two files updated to reference the `LLVM_ABI` macro that were not updated to `#include "llvm/Support/Compiler.h"` Failing build log [here](https://green.lab.llvm.org/job/llvm.org/job/clang-stage2-Rthinlto/794/consoleFull#-471199310f80d942a-f672-4696-b0d9-c66cae8aa9dd)
1 parent ff5095d commit b8dcf53

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "llvm/ADT/DenseMap.h"
2020
#include "llvm/Analysis/ScalarEvolution.h"
2121
#include "llvm/IR/InstVisitor.h"
22+
#include "llvm/Support/Compiler.h"
2223

2324
// This class is used to get an estimate of the optimization effects that we
2425
// could get from complete loop unrolling. It comes from the fact that some

llvm/include/llvm/Analysis/Passes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#ifndef LLVM_ANALYSIS_PASSES_H
1515
#define LLVM_ANALYSIS_PASSES_H
1616

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
class FunctionPass;
1921
class ImmutablePass;

0 commit comments

Comments
 (0)