[IR Container] Phase 2.3 Basic shared ptr#5960
[IR Container] Phase 2.3 Basic shared ptr#5960mdavis36 wants to merge 1 commit intomd/fusion-stmt-regfrom
Conversation
|
!test |
|
Review updated until commit f8ff364 Description
|
| Relevant files | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Enhancement |
| ||||||||
| Configuration changes |
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 PR contains tests |
| ⚡ Recommended focus areas for review |
Memory Management Safety
|
3a199c8 to
53e5045
Compare
Change Fusion::ir_container_ from unique_ptr to shared_ptr to enable future container sharing between Fusions. Add Fusion tracking API to IrContainer (addFusion/removeFusion/transferFusion/sharingCount). Remove IrContainer::parent_ since the 1:1 relationship no longer holds. Disable parallel compilation during the shared_ptr transition.
074c814 to
54cd0fe
Compare
53e5045 to
f8ff364
Compare
Change Fusion::ir_container_ from unique_ptr to shared_ptr to enable future container sharing between Fusions. Add Fusion tracking API to IrContainer (addFusion/removeFusion/transferFusion/sharingCount). Disable parallel compilation during the shared_ptr transition.