diff options
author | Nikita Popov <npopov@redhat.com> | 2022-04-05 15:05:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-04-06 09:52:21 +0200 |
commit | ed4e6e03981a37d54c4ac635b2bdb2c2fe8fec92 (patch) | |
tree | fea672749e6b62c41a16a3c21fd134b83f21b9fe /llvm/tools/gold | |
parent | b0e2ffe151c34cae87e41f8f6a58207506796fee (diff) | |
download | llvm-ed4e6e03981a37d54c4ac635b2bdb2c2fe8fec92.zip llvm-ed4e6e03981a37d54c4ac635b2bdb2c2fe8fec92.tar.gz llvm-ed4e6e03981a37d54c4ac635b2bdb2c2fe8fec92.tar.bz2 |
[cmake] Remove LLVM_ENABLE_NEW_PASS_MANAGER cmake option
Or rather, error out if it is set to something other than ON. This
removes the ability to enable the legacy pass manager by default,
but does not remove the ability to explicitly enable it through
various flags like -flegacy-pass-manager or -enable-new-pm=0.
I checked, and our test suite definitely doesn't pass with
LLVM_ENABLE_NEW_PASS_MANAGER=OFF anymore.
Differential Revision: https://reviews.llvm.org/D123126
Diffstat (limited to 'llvm/tools/gold')
-rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 180c181..0477a15 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -201,7 +201,7 @@ namespace options { // Sample profile file path static std::string sample_profile; // New pass manager - static bool new_pass_manager = LLVM_ENABLE_NEW_PASS_MANAGER; + static bool new_pass_manager = true; // Debug new pass manager static bool debug_pass_manager = false; // Directory to store the .dwo files. |