[gn build] Turn on new pass manager by default

Matches cmake build
This commit is contained in:
Arthur Eubanks 2021-02-05 09:11:07 -08:00
parent 5d9565634c
commit 39ceb5c9cf

View File

@ -324,8 +324,9 @@ write_cmake_config("llvm-config") {
input = "llvm-config.h.cmake"
output = "$target_gen_dir/llvm-config.h"
values = [
"LLVM_ENABLE_DUMP=",
"LLVM_DEFAULT_TARGET_TRIPLE=$llvm_target_triple",
"LLVM_ENABLE_DUMP=",
"LLVM_ENABLE_NEW_PASS_MANAGER=1",
"LLVM_FORCE_ENABLE_STATS=",
"LLVM_HAS_ATOMICS=1",
"LLVM_HAVE_TF_AOT=",
@ -346,7 +347,6 @@ write_cmake_config("llvm-config") {
"LLVM_VERSION_PATCH=$llvm_version_patch",
"LLVM_WITH_Z3=",
"PACKAGE_VERSION=${llvm_version}git",
"LLVM_ENABLE_NEW_PASS_MANAGER=",
]
if (current_os == "win") {