Unverified Commit 4181e927 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Fix memory annotation deduplication (backport #2286) (#2294)



* Fix memory annotation deduplication (#2286)

* Add transform to deduplicate memory annotations
* Add annotation deduplication to Dedup stage
* ResolveAnnotationPaths and EliminateTargetPaths now invalidate the dedup annotations transform
* Verilog emitter now throws exception when memory annotations fail to dedup

Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
(cherry picked from commit 4081d9f4

)

* Fix binary compatibility issues with memory anno dedup transform (#2295)

* Remove unused exception in dedup transform
* Fold Annotation.dedup() into dedup transform for binary compatibility
* ResolvedAnnotationPaths no longer invalidates any transforms
* Use Annotation.copy() instead of constructor in dedup logic

Co-authored-by: default avatarJared Barocsi <82000041+jared-barocsi@users.noreply.github.com>
parent 97dbe29e
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