[llvm] 39ceb5c - [gn build] Turn on new pass manager by default
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 09:23:20 PST 2021
Author: Arthur Eubanks
Date: 2021-02-05T09:11:07-08:00
New Revision: 39ceb5c9cfe14460540e3039106395f0fb91eb88
URL: https://github.com/llvm/llvm-project/commit/39ceb5c9cfe14460540e3039106395f0fb91eb88
DIFF: https://github.com/llvm/llvm-project/commit/39ceb5c9cfe14460540e3039106395f0fb91eb88.diff
LOG: [gn build] Turn on new pass manager by default
Matches cmake build
Added:
Modified:
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
index 389d5e962bc9..5d3a110d13b2 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -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") {
More information about the llvm-commits
mailing list