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) Add bitcast op #3776

Merged
merged 1 commit into from
Jan 22, 2025
Merged

dialects: (LLVM) Add bitcast op #3776

merged 1 commit into from
Jan 22, 2025

Conversation

AntonLydike
Copy link
Collaborator

Add the llvm.bitcast op

@AntonLydike AntonLydike added the dialects Changes on the dialects label Jan 21, 2025
@AntonLydike AntonLydike self-assigned this Jan 21, 2025
@AntonLydike AntonLydike force-pushed the anton/llvm-bitcast branch 3 times, most recently from 53ad570 to 2d56b52 Compare January 21, 2025 16:29
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.25%. Comparing base (5c96c6e) to head (986dfdf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3776      +/-   ##
==========================================
- Coverage   91.25%   91.25%   -0.01%     
==========================================
  Files         461      461              
  Lines       57479    57490      +11     
  Branches     5543     5543              
==========================================
+ Hits        52455    52465      +10     
- Misses       3602     3603       +1     
  Partials     1422     1422              

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

@AntonLydike
Copy link
Collaborator Author

For an upcoming project

class BitcastOp(IRDLOperation):
name = "llvm.bitcast"

arg = operand_def(Attribute) # LLVM-compatible non-aggregate type
Copy link
Member

Choose a reason for hiding this comment

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

docstring?


arg = operand_def(Attribute) # LLVM-compatible non-aggregate type

result = result_def(Attribute) # LLVM-compatible non-aggregate type
Copy link
Member

Choose a reason for hiding this comment

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

docstring?

@AntonLydike AntonLydike merged commit 9cdc462 into main Jan 22, 2025
16 checks passed
@AntonLydike AntonLydike deleted the anton/llvm-bitcast branch January 22, 2025 19:47
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.

3 participants