Unverified Commit 899f1f6e authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Improve performance of RenameMap in LowerTypes (backport #2233) (#2234)

* Improve performance of RenameMap in LowerTypes (#2233)

LowerTypes creates a lot of mappings for the RenameMap. The built-in
.distinct of renames becomes a performance program for designs with
deeply nested Aggregates. Because LowerTypes does not create duplicate
renames, it can safely eschew the safety of using .distinct via a
private internal API.

(cherry picked from commit e0844966

)

* Waive bincompat issue that isn't visible from Scala

Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
parent 264c5380
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment