1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[gold][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92869
This commit is contained in:
Arthur Eubanks 2020-12-08 10:29:05 -08:00
parent c6dc17550a
commit 1309eee42f

View File

@ -16,6 +16,7 @@
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/CodeGen/CommandFlags.h"
#include "llvm/Config/config.h" // plugin-api.h requires HAVE_STDINT_H
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/LTO/Caching.h"
@ -200,7 +201,7 @@ namespace options {
// Sample profile file path
static std::string sample_profile;
// New pass manager
static bool new_pass_manager = false;
static bool new_pass_manager = LLVM_ENABLE_NEW_PASS_MANAGER;
// Debug new pass manager
static bool debug_pass_manager = false;
// Directory to store the .dwo files.