Commit 08bf2b2
committed
Auto merge of #53963 - michaelwoerister:incr-comp-no-cgu-split, r=<try>
[experimental] Don't partition generic and non-generic code into different CGUs during incr. comp.
At the moment we are splitting generic and non-generic code into different CGUs when partitioning the crate during incremental compilation. The reasoning behind this is that generic code might change more often than non-generic code. That reasoning was never properly validated though. Since it's simple to just not split things, let's give it a try and see how it performs.File tree
5 files changed
+16
-26
lines changed- src
- librustc_mir/monomorphize
- test/codegen-units/partitioning
5 files changed
+16
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
| |||
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
326 | | - | |
327 | | - | |
328 | 325 | | |
329 | 326 | | |
330 | 327 | | |
331 | 328 | | |
332 | 329 | | |
333 | | - | |
334 | 330 | | |
335 | 331 | | |
336 | 332 | | |
| |||
794 | 790 | | |
795 | 791 | | |
796 | 792 | | |
797 | | - | |
| 793 | + | |
798 | 794 | | |
799 | 795 | | |
800 | 796 | | |
801 | 797 | | |
802 | | - | |
803 | 798 | | |
804 | 799 | | |
805 | 800 | | |
| |||
838 | 833 | | |
839 | 834 | | |
840 | 835 | | |
841 | | - | |
| 836 | + | |
842 | 837 | | |
843 | 838 | | |
844 | 839 | | |
845 | 840 | | |
846 | 841 | | |
847 | 842 | | |
848 | 843 | | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
| 844 | + | |
| 845 | + | |
856 | 846 | | |
857 | 847 | | |
858 | 848 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments