bors
915aa06700
Auto merge of #110705 - saethlin:ignore-locals-cost, r=cjgillot
...
Remove the size of locals heuristic in MIR inlining
This heuristic doesn't necessarily correlate to complexity of the MIR Body. In particular, a lot of straight-line code in MIR tends to never reuse a local, even though any optimizer would effectively reuse the storage or just put everything in registers. So it doesn't even necessarily make sense that this would be a stack size heuristic.
So... what happens if we just delete the heuristic? The benchmark suite improves significantly. Less heuristics better?
r? `@cjgillot`
2023-04-23 15:41:45 +00:00
..
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-01-27 18:22:45 +00:00
2023-04-05 15:59:29 +00:00
2023-04-05 15:59:29 +00:00
2023-04-05 15:59:29 +00:00
2023-03-02 13:41:17 +01:00
2023-03-02 13:41:17 +01:00
2023-03-02 13:41:17 +01:00
2023-03-02 13:41:17 +01:00
2023-03-02 13:41:17 +01:00
2023-03-02 13:41:17 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-03-13 18:22:55 +00:00
2023-04-06 09:34:17 +01:00
2023-04-05 15:59:29 +00:00
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-03-23 18:23:06 -04:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-02-16 07:51:23 -05:00
2023-02-16 07:51:23 -05:00
2023-04-05 15:59:29 +00:00
2023-04-06 09:34:17 +01:00
2023-04-06 09:34:17 +01:00
2023-04-22 23:41:48 +02:00
2023-04-06 10:08:07 +01:00
2023-04-06 10:08:07 +01:00
2023-04-22 19:17:11 -04:00
2023-04-22 19:17:11 -04:00
2023-04-22 19:17:11 -04:00
2023-04-22 19:17:11 -04:00
2023-03-25 19:33:19 -04:00
2023-04-20 20:40:01 -04:00
2023-03-25 19:33:19 -04:00