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

backend: (csl) added arith.select to csl backend #3199

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

dk949
Copy link
Collaborator

@dk949 dk949 commented Sep 20, 2024

arith.select can be translated to a CSL ternary operator
if (cond) lhs else rhs.

`arith.select` can be translated to a CSL ternary operator
`if (cond) lhs else rhs`.
@dk949 dk949 added the backend Compiler backend in xDSL label Sep 20, 2024
@dk949 dk949 requested review from AntonLydike and n-io September 20, 2024 10:56
@dk949 dk949 self-assigned this Sep 20, 2024
@dk949
Copy link
Collaborator Author

dk949 commented Sep 20, 2024

I thought we might need it. Turns out we didn't really, but I figured I'd push it anyway since it's already written.

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.03%. Comparing base (9dc299a) to head (f2fe20e).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3199      +/-   ##
==========================================
- Coverage   90.03%   90.03%   -0.01%     
==========================================
  Files         432      432              
  Lines       54435    54441       +6     
  Branches     8443     8444       +1     
==========================================
+ Hits        49012    49016       +4     
- Misses       4056     4057       +1     
- Partials     1367     1368       +1     

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

@dk949 dk949 merged commit de25579 into main Sep 20, 2024
14 checks passed
@dk949 dk949 deleted the david/csl-backend/select branch September 20, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Compiler backend in xDSL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants