Remove -Znew-llvm-pass-manager

This commit is contained in:
Josh Stone 2022-09-16 16:37:17 -07:00
parent 2860f77a0d
commit 38e0e8f7bb
8 changed files with 3 additions and 13 deletions

View file

@ -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);