This is an archive of the discontinued LLVM Phabricator instance.

[IR] Remove -opaque-pointers option
ClosedPublic

Authored by nikic on Jul 12 2023, 5:59 AM.

Details

Reviewers
aeubanks
MaskRay
Group Reviewers
Restricted Project
Commits
rG53717cabf837: [IR] Remove -opaque-pointers option
Summary

The test migration to opaque pointers has finished, so we can finally drop typed pointer support from LLVM \o/

This removes the ability to disable typed pointers, as well as the -opaque-pointers option, but otherwise doesn't yet touch any API surface. I'll leave deprecation/removal of compatibility APIs to future changes.

This also drops a few tests: These are either testing errors that only occur with typed pointers, or type linking behavior that, to the best of my knowledge, only applies to typed pointers.

Note that this will break some tests in the experimental SPIRV backend, because the maintainers have failed to update their tests in a reasonable time-frame, despite multiple warnings. In accordance with our experimental target policy, this is not a blocking concern. This issue is tracked at https://github.com/llvm/llvm-project/issues/60133.

Diff Detail

Event Timeline

nikic created this revision.Jul 12 2023, 5:59 AM
nikic requested review of this revision.Jul 12 2023, 5:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 5:59 AM
nikic edited the summary of this revision. (Show Details)Jul 12 2023, 6:00 AM
nikic updated this revision to Diff 539531.Jul 12 2023, 6:11 AM

Rebase over test changes.

give me a day to check if I need to do any last minute cleanups internally

This revision is now accepted and ready to land.Jul 13 2023, 5:53 PM
MaskRay accepted this revision.Jul 13 2023, 5:55 PM
This revision was landed with ongoing or failed builds.Jul 14 2023, 12:07 AM
This revision was automatically updated to reflect the committed changes.
llvm/test/Linker/Inputs/type-unique-name.ll