Skip to content

(closes #3392) Store commonblock name inside its interface - #3543

Merged
LonelyCat124 merged 7 commits into
masterfrom
3392_store_common_block_name
Aug 12, 2026
Merged

(closes #3392) Store commonblock name inside its interface#3543
LonelyCat124 merged 7 commits into
masterfrom
3392_store_common_block_name

Conversation

@sergisiso

Copy link
Copy Markdown
Collaborator

This felt as a very natural way to implement the CommonBlocks, I don't know why it wasn't done like this in the first place.

@sergisiso

Copy link
Copy Markdown
Collaborator Author

@arporter @LonelyCat124 This is ready for review, it is the ground work to then address #2554

@sergisiso sergisiso self-assigned this Aug 5, 2026
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5205227) to head (f164de2).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #3543   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          397       397           
  Lines        55665     55671    +6     
=========================================
+ Hits         55665     55671    +6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LonelyCat124 LonelyCat124 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergisiso This mostly makes sense and seems reasonable. I've asked for a couple of things, one is to just test behaviour regarding comments around/in common blocks declaration to check it doesn't also break since it uses hard coded indices.

Comment thread src/psyclone/psyir/frontend/fparser2.py
Comment thread src/psyclone/psyir/frontend/fparser2.py Outdated
Comment thread src/psyclone/tests/psyir/symbols/interfaces_test.py Outdated
@sergisiso

Copy link
Copy Markdown
Collaborator Author

@LonelyCat124 Ready for another look

@LonelyCat124
LonelyCat124 merged commit f6d112d into master Aug 12, 2026
16 checks passed
@LonelyCat124
LonelyCat124 deleted the 3392_store_common_block_name branch August 12, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants