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: (builtin) print hex str for DenseIntOrFPElementsAttrs with > 100 elements #3846

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

jorendumoulin
Copy link
Collaborator

mimicking mlir behaviour

This, along with #3845 should allow for very fast printing/parsing of large dense attrs, allowing for low-overhead calling of intermediate mlir-opt passes in our pipeline.

@jorendumoulin jorendumoulin self-assigned this Feb 5, 2025
@jorendumoulin jorendumoulin added the dialects Changes on the dialects label Feb 5, 2025
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.27%. Comparing base (8ee6ed9) to head (67e6da2).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3846   +/-   ##
=======================================
  Coverage   91.26%   91.27%           
=======================================
  Files         461      461           
  Lines       57656    57656           
  Branches     5570     5571    +1     
=======================================
+ Hits        52619    52623    +4     
+ Misses       3612     3609    -3     
+ Partials     1425     1424    -1     

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

@superlopuh superlopuh merged commit 2b2f51e into main Feb 5, 2025
16 checks passed
@superlopuh superlopuh deleted the joren/print-bytes branch February 5, 2025 16:38
emmau678 pushed a commit that referenced this pull request Feb 6, 2025
…> 100 elements (#3846)

mimicking mlir behaviour

This, along with #3845 should allow for very fast printing/parsing of
large dense attrs, allowing for low-overhead calling of intermediate
mlir-opt passes in our pipeline.
oluwatimilehin pushed a commit to oluwatimilehin/xdsl that referenced this pull request Feb 13, 2025
…> 100 elements (xdslproject#3846)

mimicking mlir behaviour

This, along with xdslproject#3845 should allow for very fast printing/parsing of
large dense attrs, allowing for low-overhead calling of intermediate
mlir-opt passes in our pipeline.
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