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: llvm.InLineAsmOp has_side_effects, is_align_stack are properties #3147

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

JosseVanDelm
Copy link
Collaborator

I apparently made a small yet significant error when I implemented this operation the first time, which sometimes gives weird errors in mixed pipelines.

has_side_effects, is_align_stack are optional properties defined as UnitAttributes.
I apparently gave a very difficult to find error because I tested them as attributes, and not as properties. and because has_side_effects is not exactly the same as has_side_effect

I'm not sure the implementation I'm using here for defining optional properties is correct. It seems there are multiple ways of doing this in xdsl?

Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.99%. Comparing base (728c50b) to head (91f5140).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3147      +/-   ##
==========================================
- Coverage   89.99%   89.99%   -0.01%     
==========================================
  Files         427      427              
  Lines       53854    53853       -1     
  Branches     8343     8343              
==========================================
- Hits        48468    48467       -1     
  Misses       4038     4038              
  Partials     1348     1348              

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

@AntonLydike AntonLydike added the dialects Changes on the dialects label Sep 5, 2024
Copy link
Collaborator

@AntonLydike AntonLydike left a comment

Choose a reason for hiding this comment

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

❤️

@JosseVanDelm JosseVanDelm merged commit 791e89d into main Sep 5, 2024
14 checks passed
@JosseVanDelm JosseVanDelm deleted the Josse/inline-asm-properties branch September 5, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants