Commit 07467c5
authored
Rollup merge of rust-lang#101997 - cuviper:drop-legacy-pm, r=nikic
Remove support for legacy PM
This removes support for optimizing with LLVM's legacy pass manager, as well as the unstable `-Znew-llvm-pass-manager` option. We have been defaulting to the new PM since LLVM 13 (except for s390x that waited for 14), and LLVM 15 removed support altogether. The only place we still use the legacy PM is for writing the output file, just like `llc` does.
cc rust-lang#74705
r? ``@nikic``File tree
15 files changed
+28
-685
lines changed- compiler
- rustc_codegen_llvm
- src
- back
- llvm
- rustc_codegen_ssa/src/back
- rustc_interface/src
- rustc_llvm/llvm-wrapper
- rustc_session/src
- src
- doc/unstable-book/src/compiler-flags
- test
- rustdoc-ui
- ui
- invalid
- sanitize
15 files changed
+28
-685
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3263 | 3263 | | |
3264 | 3264 | | |
3265 | 3265 | | |
3266 | | - | |
3267 | 3266 | | |
3268 | 3267 | | |
3269 | 3268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
597 | 595 | | |
598 | 596 | | |
599 | 597 | | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
655 | 601 | | |
656 | 602 | | |
657 | 603 | | |
| |||
0 commit comments