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

[CIR] Add default alignment to createStore #1433

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FantasqueX
Copy link
Collaborator

@FantasqueX FantasqueX commented Mar 2, 2025

Currently, CIR's createStore doesn't add alignment by default while OG does. CIR adds alignment in lowering stage if missing alignment attribute by inferring size of type. However, this could be inaccurate. This change will break a lot of test cases. But I think we should do this as early as we can.

Resolves: #1204

@FantasqueX FantasqueX marked this pull request as draft March 2, 2025 18:51
@FantasqueX FantasqueX force-pushed the createstore-default-alignment branch from eefe2d7 to 4a2d639 Compare March 4, 2025 19:26
@FantasqueX
Copy link
Collaborator Author

@bcardosolopes Hi, could you please take a look at this PR before it is ready? Currently, there are 140 test cases failing still. I want to make sure my direction is correct before continuing to work. Thanks.

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

Successfully merging this pull request may close these issues.

inconsistency alignment of store instructions
1 participant