aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTOCodeGenerator.cpp
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2022-11-10 20:11:06 +0100
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2022-11-28 10:24:16 +0100
commit99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c (patch)
tree2b4b4841027ffff40912985c6e2c9afca2aefdd8 /llvm/lib/LTO/LTOCodeGenerator.cpp
parent962343a979d51cea9363167e9121c446abbdfdbc (diff)
downloadllvm-99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c.zip
llvm-99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c.tar.gz
llvm-99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c.tar.bz2
Remove TargetMachine::adjustPassManager
Since opt no longer supports to run default (O0/O1/O2/O3/Os/Oz) pipelines using the legacy PM, there are no in-tree uses of TargetMachine::adjustPassManager remaining. This patch removes the no longer used adjustPassManager functions. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D137796
Diffstat (limited to 'llvm/lib/LTO/LTOCodeGenerator.cpp')
-rw-r--r--llvm/lib/LTO/LTOCodeGenerator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp
index c9ecc6d..b1f0cf9 100644
--- a/llvm/lib/LTO/LTOCodeGenerator.cpp
+++ b/llvm/lib/LTO/LTOCodeGenerator.cpp
@@ -36,7 +36,6 @@
#include "llvm/IR/Module.h"
#include "llvm/IR/PassTimingInfo.h"
#include "llvm/IR/Verifier.h"
-#include "llvm/InitializePasses.h"
#include "llvm/LTO/LTO.h"
#include "llvm/LTO/LTOBackend.h"
#include "llvm/LTO/legacy/LTOModule.h"
@@ -60,7 +59,6 @@
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/IPO/Internalize.h"
-#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "llvm/Transforms/IPO/WholeProgramDevirt.h"
#include "llvm/Transforms/ObjCARC.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"