about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-09-16 16:37:17 -0700
committerJosh Stone <jistone@redhat.com>2022-09-18 13:26:03 -0700
commit38e0e8f7bb5060d6a656d0d17dd119f9e3482e67 (patch)
treef3656bda20aad7ac5321eae2be0b775524adeb96 /compiler/rustc_codegen_llvm/src
parent2860f77a0dd30d7edbb374fff49b39b096e298fd (diff)
downloadrust-38e0e8f7bb5060d6a656d0d17dd119f9e3482e67.tar.gz
rust-38e0e8f7bb5060d6a656d0d17dd119f9e3482e67.zip
Remove -Znew-llvm-pass-manager
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index 6280bf6cdc2..92a44a9f426 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -513,10 +513,6 @@ pub(crate) unsafe fn maybe_optimize(
     let module_name = module.name.clone();
     let module_name = Some(&module_name[..]);
 
-    if let Some(false) = config.new_llvm_pass_manager {
-        diag_handler.warn("ignoring `-Z new-llvm-pass-manager=no`, which is no longer supported");
-    }
-
     if config.emit_no_opt_bc {
         let out = cgcx.output_filenames.temp_path_ext("no-opt.bc", module_name);
         let out = path_to_c_string(&out);