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

(Towards #2577) Add pointer and target attributes in datatypes, frontend and backend #2822

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

JulienRemy
Copy link
Collaborator

This starts implementing point 2 of Sergi's list in #2577 by adding new attributes to datatypes, as well as frontend and backend support for them.

Note that is_potentially_aliased is not used anywhere, except to fix an existing Matmul2CodeTrans test.
So this does not check for aliasing anywhere else for now. Stated differently, this might be dangerous to merge as it effectively supports pointers in PSyIR but does not yet restrict transformations to non-aliased variables.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.88%. Comparing base (1e6b095) to head (32d451b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2822      +/-   ##
==========================================
- Coverage   99.88%   99.88%   -0.01%     
==========================================
  Files         357      357              
  Lines       49742    49960     +218     
==========================================
+ Hits        49686    49903     +217     
- Misses         56       57       +1     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant