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

Modernize use of LLVM pointer types #639

Merged

Conversation

elliottslaughter
Copy link
Member

This is the first part of the migration toward opaque pointers (#553). Starting with the easy cases, I'm trying to reduce the compiler's reliance on looking up pointee types. But this PR may not get 100% of all the cases.

@elliottslaughter
Copy link
Member Author

Ok, I think that's all the easy cases. Everything else either (a) becomes superfluous once pointer types are removed (i.e., there will be no more bitcasts, so it doesn't matter what we bitcast to), or (b) is more challenging (i.e., I need to figure out how to get types safely out of Clang without them being pruned).

@elliottslaughter elliottslaughter merged commit 8f43bed into terralang:master Aug 25, 2023
35 checks passed
@elliottslaughter elliottslaughter deleted the llvm-modernization-2 branch August 25, 2023 06:02
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