-
Notifications
You must be signed in to change notification settings - Fork 23
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 use of deprecated Opaque Pointer API #60
Remove use of deprecated Opaque Pointer API #60
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot remove typed pointer support from llvm-dialects for now, this would break internal projects.
If we do need to remove this for new llvm, I think our only choice is to add #if
s on the LLVM revision.
Thanks, I was not aware about it. I only noticed this change: https://reviews.llvm.org/D155585 |
That check sounds good to me. |
Sure, no problem. I also noticed that we have a dedicated flag for opaque pointers in llvm-dialects
this will be also "useless" after llvm-17 ? |
Do we still have that flag somewhere? I thought I removed it in #59 |
I was referring exactly to this flag, but apparently I'm not sync with top. |
LLVM 17 will be the last version with opaque pointer API support.
4759222
to
12fec3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
'isOpaque' and 'getNonOpaquePointerElementType' are deprecated on new LLVM. Additionally this code is not used since Opaque Pointers are enabled by default.