Skip to content

core: (Assembly Format) remove return value from parse - #6424

Merged
alexarice merged 1 commit into
mainfrom
alexarice/remove-return
Sep 5, 2026
Merged

core: (Assembly Format) remove return value from parse#6424
alexarice merged 1 commit into
mainfrom
alexarice/remove-return

Conversation

@alexarice

Copy link
Copy Markdown
Collaborator

Removes the now unnecessary return value from parse. Fairly big diff as this touches all the custom directives.

Stacked on #6423

@alexarice
alexarice requested a review from superlopuh September 4, 2026 13:30
@alexarice alexarice self-assigned this Sep 4, 2026
@alexarice alexarice added the core xDSL core (ir, textual format, ...) label Sep 4, 2026
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.95918% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.95%. Comparing base (d51b143) to head (62c71c6).

Files with missing lines Patch % Lines
xdsl/irdl/declarative_assembly_format.py 96.29% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6424      +/-   ##
==========================================
- Coverage   86.95%   86.95%   -0.01%     
==========================================
  Files         439      439              
  Lines       66019    65964      -55     
  Branches     7514     7513       -1     
==========================================
- Hits        57409    57356      -53     
+ Misses       7038     7037       -1     
+ Partials     1572     1571       -1     

☔ 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.

Base automatically changed from alexarice/assembly-use-pos to main September 5, 2026 13:25
@alexarice
alexarice force-pushed the alexarice/remove-return branch from 53c6990 to 62c71c6 Compare September 5, 2026 13:34
@alexarice
alexarice merged commit ee09066 into main Sep 5, 2026
25 checks passed
@alexarice
alexarice deleted the alexarice/remove-return branch September 5, 2026 13:45
alexarice added a commit that referenced this pull request Sep 11, 2026
Fixes the `parse` and adds `parse_optional` methods for
`KeywordDirective` and `PunctuationDirective`, making these no longer
accept the empty string outside of optional groups.

This revealed two bugs in `arm_neon` and `tosa`. I've tried to fix both
in the a way that seems to make the most sense to me, but it would be
good if these could be checked.

Stacked on top of #6424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core xDSL core (ir, textual format, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants