Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialects: (riscv) use helper for comment in label op #1020

Merged
merged 2 commits into from May 30, 2023

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added dialects Changes on the dialects minor For minor PRs, easy and quick to review, quickly mergeable labels May 29, 2023
@superlopuh superlopuh self-assigned this May 29, 2023
@superlopuh superlopuh marked this pull request as ready for review May 29, 2023 13:36
@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (519cfb3) 86.81% compared to head (6869e5f) 86.81%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1020   +/-   ##
=======================================
  Coverage   86.81%   86.81%           
=======================================
  Files         125      125           
  Lines       19046    19041    -5     
  Branches     2885     2884    -1     
=======================================
- Hits        16534    16530    -4     
+ Misses       2012     2011    -1     
  Partials      500      500           
Impacted Files Coverage Δ
tests/dialects/test_riscv.py 100.00% <100.00%> (ø)
xdsl/dialects/riscv.py 82.75% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -113,7 +113,7 @@ def test_label_op_with_comment():
assert label_op.label.data == label_str

code = riscv_code(ModuleOp([label_op]))
assert code == f"{label_str}: # my label\n"
assert code == f"{label_str}: # my label\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

big gap?

Copy link
Collaborator

Choose a reason for hiding this comment

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

makes comments be aligned and a bit out of the way; it's just stylistic.

@superlopuh superlopuh merged commit d86bab8 into main May 30, 2023
12 checks passed
@superlopuh superlopuh deleted the sasha/risc/cleanup branch May 30, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects minor For minor PRs, easy and quick to review, quickly mergeable
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants