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

Remove references to non opaque pointers in codegen and LLVM passes #54853

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

gbaraldi
Copy link
Member

@gbaraldi gbaraldi commented Jun 19, 2024

This is in preparation for the bump to LLVM18 where some of these APIs are removed. This also removes uses of bitcasts between pointers since those were already noops and just complicated the code.

This also changes a couple of the GEPs in the code to be int8 GEPs in preparation for whatever version of https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699 that eventually gets made. In any case LLVM already canonicalizes GEPs to i8 GEPs so this doesn't hurt.

@giordano giordano added the compiler:llvm For issues that relate to LLVM label Jun 19, 2024
@Zentrik Zentrik mentioned this pull request Jun 20, 2024
@gbaraldi gbaraldi merged commit 5e1bcdf into master Jun 21, 2024
7 checks passed
@gbaraldi gbaraldi deleted the gb/no-typed-ref branch June 21, 2024 12:33
Zentrik added a commit to Zentrik/julia that referenced this pull request Jul 10, 2024
Zentrik added a commit to Zentrik/julia that referenced this pull request Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:llvm For issues that relate to LLVM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants