-
Notifications
You must be signed in to change notification settings - Fork 14.7k
[InferAlignment] Propagate alignment between loads/stores of the same base pointer #145733
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
Merged
dakersnar
merged 18 commits into
llvm:main
from
dakersnar:github/dkersnar/lsv-alignment-propagation
Aug 8, 2025
+245
−10
Merged
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
15600f9
[LoadStoreVectorizer] Propagate alignment through contiguous chain to…
dakersnar b905f1c
Address feedback, add reverse propagation, simplify and expand unit t…
dakersnar cd9e9f6
For consistency, remove the delaying of load/store alignment upgrading
dakersnar 9c99e0a
Refactor algorithm
dakersnar 8db304a
Alternate approach to solve the problem in InferAlignment
dakersnar d696eee
Revert original solution
dakersnar c53e595
Reviewer feedback
dakersnar 39dc009
Reviewer feedback
dakersnar 2f73c04
Test improvement
dakersnar 3e55c80
Add comments
dakersnar 1ef4008
One call to tryToImproveAlign
dakersnar 622cf48
Update InferAlignment.cpp
dakersnar 4a05b2e
Merge branch 'main' into github/dkersnar/lsv-alignment-propagation
dakersnar 5d15526
Fix clang tests (all improvements), add negative gep tests
dakersnar 8d0d3fc
Fix negative offsets calculation
dakersnar c6eb67a
Remove abs, add a couple more tests
dakersnar 215d65f
Adjust comment to more correctly clarify the limitations of this opti…
dakersnar 0025877
Merge branch 'main' into github/dkersnar/lsv-alignment-propagation
dakersnar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.