This is an archive of the discontinued LLVM Phabricator instance.

[IR] Deprecate opaque pointer compatibility APIs
ClosedPublic

Authored by nikic on Jul 18 2023, 5:24 AM.

Details

Reviewers
aeubanks
Group Reviewers
Restricted Project
Commits
rG2ea5aa1c96cf: [IR] Deprecate opaque pointer compatibility APIs
Summary

This deprecates various compatibility APIs that have been introduced as part of the opaque pointer migration.

These will be removed at some point after the LLVM 17 release.

Diff Detail

Event Timeline

nikic created this revision.Jul 18 2023, 5:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:24 AM
nikic requested review of this revision.Jul 18 2023, 5:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:24 AM
nikic updated this revision to Diff 541471.Jul 18 2023, 5:29 AM

Also deprecate getNonOpaquePointerElementType() and remove getPointerElementType(), which has already been deprecated for a long time.

aeubanks accepted this revision.Jul 18 2023, 12:11 PM
aeubanks added a subscriber: aeubanks.

I'd split up the API removals and deprecations into separate patches, but otherwise lgtm

This revision is now accepted and ready to land.Jul 18 2023, 12:11 PM
This revision was landed with ongoing or failed builds.Jul 19 2023, 1:21 AM
This revision was automatically updated to reflect the committed changes.