about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-18 17:18:28 +0000
committerbors <bors@rust-lang.org>2021-09-18 17:18:28 +0000
commit35c8f2612ffea42cc09350accdba934e85a19f35 (patch)
tree35b8163b863a91938354e1450e8417c92e7b210d /compiler/rustc_codegen_llvm/src
parentd6cd2c6c877110748296760aefddc21a0ea1d316 (diff)
parent6d1f4d2fed2bdc561891d19440c38cf7adfb4858 (diff)
downloadrust-35c8f2612ffea42cc09350accdba934e85a19f35.tar.gz
rust-35c8f2612ffea42cc09350accdba934e85a19f35.zip
Auto merge of #88994 - Aaron1011:intercrate-caching, r=jackh726
Disable the evaluation cache when in intercrate mode

It's possible to use the same `InferCtxt` with both
an intercrate and non-intercrate `SelectionContext`. However,
the local (inferctxt) evaluation cache is not aware of this
distinction, so this kind of `InferCtxt` re-use will pollute
the cache wth bad results.

This commit avoids the issue by disabling the evaluation cache
entirely during intercrate mode.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions