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

misc: Stencil and csl lowering fixes #3442

Merged
merged 3 commits into from
Nov 14, 2024
Merged

misc: Stencil and csl lowering fixes #3442

merged 3 commits into from
Nov 14, 2024

Conversation

n-io
Copy link
Collaborator

@n-io n-io commented Nov 13, 2024

Various minor fixes:

  • stencil: Add canonicalisation pattern for stencil.cast where input type == output type
  • csl-stencil-handle-async-flow: When creating a function call graph, copy arith constants to the function in which they are used, undoing mlir-opt canonicalisation moving them around.
  • test-add-timers-to-top-level-funcs: Generate timers as private functions

@n-io n-io added bug Something isn't working misc Miscellaneous labels Nov 13, 2024
@n-io n-io requested review from PapyChacal and dk949 November 13, 2024 17:52
@n-io n-io self-assigned this Nov 13, 2024
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.20%. Comparing base (265f59f) to head (b47bf3d).
Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3442      +/-   ##
==========================================
+ Coverage   90.18%   90.20%   +0.01%     
==========================================
  Files         457      459       +2     
  Lines       57601    57631      +30     
  Branches     5549     5564      +15     
==========================================
+ Hits        51948    51984      +36     
- Misses       4192     4201       +9     
+ Partials     1461     1446      -15     

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

Copy link
Collaborator

@dk949 dk949 left a comment

Choose a reason for hiding this comment

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

All looks good

@n-io n-io merged commit af6211d into main Nov 14, 2024
15 checks passed
@n-io n-io deleted the nicolai/timer-fix branch November 14, 2024 16:04
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
Various minor fixes:
* `stencil`: Add canonicalisation pattern for `stencil.cast` where input
type == output type
* `csl-stencil-handle-async-flow`: When creating a function call graph,
copy arith constants to the function in which they are used, undoing
mlir-opt canonicalisation moving them around.
* `test-add-timers-to-top-level-funcs`: Generate timers as `private`
functions

---------

Co-authored-by: n-io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working misc Miscellaneous
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants