aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2023-04-12 11:01:55 +0200
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2023-04-13 10:12:00 +0200
commit410775ecfdb8e7290d6234d7de48a0c94ffddb05 (patch)
tree88656676e9172e19c9ce2f2f0ce61ca1492077dd /llvm/lib/Transforms/Utils/Utils.cpp
parent3a3ee933f347af815f111c6f9352baf8cfd302fc (diff)
downloadllvm-410775ecfdb8e7290d6234d7de48a0c94ffddb05.zip
llvm-410775ecfdb8e7290d6234d7de48a0c94ffddb05.tar.gz
llvm-410775ecfdb8e7290d6234d7de48a0c94ffddb05.tar.bz2
[Transforms][LTO] Remove some redundant includes. NFC
No need to include CallGraphSCCPass.h from the IPO/Inliner. Also removed the include of LegacyPassManager.h in a couple of files that do not really depend on that header file. Differential Revision: https://reviews.llvm.org/D148083
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Utils.cpp b/llvm/lib/Transforms/Utils/Utils.cpp
index 59d1b8e..f966d16 100644
--- a/llvm/lib/Transforms/Utils/Utils.cpp
+++ b/llvm/lib/Transforms/Utils/Utils.cpp
@@ -13,7 +13,6 @@
#include "llvm/Transforms/Utils.h"
#include "llvm-c/Initialization.h"
-#include "llvm/IR/LegacyPassManager.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"