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

Vectorize through user-defined index sets #1316

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

axch
Copy link
Collaborator

@axch axch commented Jun 26, 2023

No description provided.

@axch axch requested a review from dougalm June 26, 2023 17:33
axch added 3 commits July 5, 2023 15:16
provided it can prove the size is static and divides by the vector width.
… contiguous, not varying.

This is relevant for preserving vector loads when an index is offset.
@axch axch force-pushed the vectorize-user-index-sets branch from 06054ca to c489415 Compare July 5, 2023 19:16
It seems that either llvm-hs or LLVM itself assumes that a pointer
load or store that doesn't indicate an explicit alignment is aligned
to the size of pointee.  But this is wrong for vector loads from
multidimensional Dex arrays---the minor dimension need only be aligned
on the size of a single array element, not the whole vector.
@axch axch force-pushed the vectorize-user-index-sets branch from 14b2166 to c8c0ae3 Compare July 6, 2023 21:43
@axch axch merged commit 4c47ab0 into google-research:main Jul 7, 2023
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.

1 participant