mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 08:02:08 +00:00
[llvm-lto2] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER
Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D92870
This commit is contained in:
parent
a2c157eb3e
commit
dee1e6ac42
@ -17,6 +17,7 @@
|
||||
|
||||
#include "llvm/Bitcode/BitcodeReader.h"
|
||||
#include "llvm/CodeGen/CommandFlags.h"
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
#include "llvm/IR/DiagnosticPrinter.h"
|
||||
#include "llvm/LTO/Caching.h"
|
||||
#include "llvm/LTO/LTO.h"
|
||||
@ -144,7 +145,7 @@ static cl::opt<bool>
|
||||
static cl::opt<bool>
|
||||
UseNewPM("use-new-pm",
|
||||
cl::desc("Run LTO passes using the new pass manager"),
|
||||
cl::init(false), cl::Hidden);
|
||||
cl::init(LLVM_ENABLE_NEW_PASS_MANAGER), cl::Hidden);
|
||||
|
||||
static cl::opt<bool>
|
||||
DebugPassManager("debug-pass-manager", cl::init(false), cl::Hidden,
|
||||
|
Loading…
Reference in New Issue
Block a user