about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2022-04-26 20:34:58 -0400
committerAaron Hill <aa1ronham@gmail.com>2022-05-05 14:01:35 -0400
commit40c6d838cd0ce84831d418ba8b65e06de5bb9922 (patch)
tree4eaa0529b07236461582a772a937f7213ea072c6 /compiler/rustc_mir_transform/src
parenta7d6768e3b60209d4195c822ea3247482909b604 (diff)
downloadrust-40c6d838cd0ce84831d418ba8b65e06de5bb9922.tar.gz
rust-40c6d838cd0ce84831d418ba8b65e06de5bb9922.zip
Don't cache results of coinductive cycle
Fixes #96319

The logic around handling co-inductive cycles in the evaluation cache
is confusing and error prone. Fortunately, a perf run showed that it
doesn't actually appear to improve performance, so we can simplify
this code (and eliminate a source of ICEs) by just skipping caching
the evaluation results for co-inductive cycle participants.

This commit makes no changes to any of the other logic around
co-inductive cycle handling. Thus, while this commit could
potentially expose latent bugs that were being hidden by
caching, it should not introduce any new bugs.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions