about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-17 09:51:36 +1100
committerJosh Stone <jistone@redhat.com>2023-10-20 17:45:16 -0700
commite45b2ab5c58dd68ce5277eb14ade87d473a9f10a (patch)
tree950c7cf3c6a656fac3717820eb7ff20efc8ff32f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1bab7646e99afa875d6fdb01b9f5a64e339b1674 (diff)
downloadrust-e45b2ab5c58dd68ce5277eb14ade87d473a9f10a.tar.gz
rust-e45b2ab5c58dd68ce5277eb14ade87d473a9f10a.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.

(cherry picked from commit 91f2fbc867bfc31f2e103b09e605c61f1a450b33)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions