about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-17 09:51:36 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-17 11:02:59 +1100
commit91f2fbc867bfc31f2e103b09e605c61f1a450b33 (patch)
tree5476e565a529d04fe4c30c9f25f95f89924ce73d /compiler/rustc_mir_transform/src/coverage/spans.rs
parent99592fdfa14ecbcf0f42f97d2cfa5ef8f3c289fe (diff)
downloadrust-91f2fbc867bfc31f2e103b09e605c61f1a450b33.tar.gz
rust-91f2fbc867bfc31f2e103b09e605c61f1a450b33.zip
Fix a performance regression in obligation deduplication.
Commit 8378487 from #114611 changed the location of an obligation
deduplication step in `opt_normalize_projection_type`. This meant that
deduplication stopped happening on one path where it was still
necessary, causing a couple of drastic performance regressions.

This commit moves the deduplication back to the old location. The good
news is that #114611 had four commits and 8378487 was of minimal
importance, so the perf benefits from that PR remain.

Fixes #116780, #116797.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions