Files
third_party_rust_rust/compiler
bors 10cc7a6d03 Auto merge of #93449 - JakobDegen:restrict-hasdrop-optimization, r=cjgillot
Restrict query recursion in `needs_significant_drop`

Overly aggressive use of the query system to improve caching lead to query cycles and consequently ICEs. This patch fixes this by restricting the use of the query system as a cache to those cases where it is definitely correct.

Closes #92725 .

This is essentially a revert of #90845 for the significant drop case only. The general `needs_drop` still does the same thing. The hope is that this is enough to preserve the performance improvements of that PR while fixing the ICE. Should get a perf run to verify that this is the case.

cc `@cjgillot`
2022-02-26 19:25:04 +00:00
..
2022-01-28 16:56:05 +01:00
2021-12-14 18:50:31 -04:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-24 18:50:33 -08:00
2021-09-20 22:21:42 -04:00
2022-02-24 18:50:33 -08:00
2022-02-25 08:00:52 -05:00
2022-02-24 16:02:07 -05:00
2022-02-25 08:00:52 -05:00
2022-02-24 17:01:01 +11:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-22 18:14:51 -05:00
2022-02-25 08:00:52 -05:00