diff options
| author | Josh Stone <jistone@redhat.com> | 2022-09-16 16:37:17 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2022-09-18 13:26:03 -0700 |
| commit | 38e0e8f7bb5060d6a656d0d17dd119f9e3482e67 (patch) | |
| tree | f3656bda20aad7ac5321eae2be0b775524adeb96 /compiler/rustc_codegen_llvm/src | |
| parent | 2860f77a0dd30d7edbb374fff49b39b096e298fd (diff) | |
| download | rust-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.rs | 4 |
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); |
