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

llvm/cleanup/remove bitcasts #1759

Merged
merged 3 commits into from
Sep 23, 2020

Conversation

SamKG
Copy link
Collaborator

@SamKG SamKG commented Sep 22, 2020

Removes bitcasts from various lllvm pytorch helpers

@SamKG SamKG requested a review from jvesely September 22, 2020 20:12
@SamKG SamKG changed the base branch from master to devel September 22, 2020 20:12
Copy link
Collaborator

@jvesely jvesely left a comment

Choose a reason for hiding this comment

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

thanks! it might be worth fixing the allocas (use alloca(m1.type.pointee ...) while here, but it can also be left for future cleanup.
alias analysis should have easier time handling out of bounds accesses than pointer casts.
we should still check that any data structure that we use doesn't insert extra padding.
It's probably not going to happen with fp64, but fp16 arrays can be padded/aligned to 4B

@SamKG SamKG merged commit b076129 into PrincetonUniversity:devel Sep 23, 2020
@SamKG SamKG deleted the llvm/cleanup/remove_bitcasts branch September 23, 2020 16:54
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.

2 participants