about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-09-20 14:23:21 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-09-20 14:37:11 -0500
commit6dbb9d4eee0a2789a74bb2d4b8228626f7cd741c (patch)
tree63687381aa9574035a9b1012c5bd7189da233e19 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentdb1fb85cff63ad5fffe435e17128f99f9e1d970c (diff)
downloadrust-6dbb9d4eee0a2789a74bb2d4b8228626f7cd741c.tar.gz
rust-6dbb9d4eee0a2789a74bb2d4b8228626f7cd741c.zip
Don't use projection cache or candidate cache in intercrate mode
Fixes #88969

It appears that *just* disabling the evaluation cache (in #88994)
leads to other issues involving intercrate mode caching. I suspect
that since we now always end up performing the full evaluation
in intercrate mode, we end up 'polluting' the candidate and projection
caches with results that depend on being in intercrate mode in some way.
Previously, we might have hit a cached evaluation (stored during
non-intercrate mode), and skipped doing this extra work in
intercrate mode.

The whole situation with intercrate mode caching is turning into
a mess. Ideally, we would remove intercrate mode entirely - however,
this might require waiting on Chalk.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions