[PATCH] D81273: [WIP] Enable new pass manager as default DO NOT SUBMIT
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 09:26:16 PDT 2020
aeubanks created this revision.
Herald added subscribers: llvm-commits, cfe-commits, mgorny.
Herald added projects: clang, LLVM.
Just for bot testing
Depends on D81175 <https://reviews.llvm.org/D81175>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81273
Files:
clang/CMakeLists.txt
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
llvm/utils/gn/secondary/clang/test/BUILD.gn
Index: llvm/utils/gn/secondary/clang/test/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -57,7 +57,7 @@
# builds exist, to make sure it's a toolchain var.
"CMAKE_CXX_COMPILER=c++",
"ENABLE_BACKTRACES=1",
- "ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=0",
+ "ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=1",
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_USE_SANITIZER=",
Index: llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
+++ llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
@@ -34,7 +34,7 @@
"BACKEND_PACKAGE_STRING=LLVM ${llvm_version}git",
"ENABLE_LINKER_BUILD_ID=",
"ENABLE_X86_RELAX_RELOCATIONS=",
- "ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=",
+ "ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=1",
"CLANG_ENABLE_OBJC_REWRITER=1", # FIXME: flag?
"CLANG_SYSTEMZ_DEFAULT_ARCH=z10",
]
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -256,7 +256,7 @@
set(ENABLE_X86_RELAX_RELOCATIONS OFF CACHE BOOL
"enable x86 relax relocations by default")
-set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER FALSE CACHE BOOL
+set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER TRUE CACHE BOOL
"Enable the experimental new pass manager by default.")
set(CLANG_SPAWN_CC1 OFF CACHE BOOL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81273.268844.patch
Type: text/x-patch
Size: 1664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200605/6fa18ae9/attachment.bin>
More information about the cfe-commits
mailing list