This is an archive of the discontinued LLVM Phabricator instance.

[Bitcode] Improve support for opaque-pointer bitcode upgrade
ClosedPublic

Authored by nikic on Feb 9 2022, 7:07 AM.

Details

Summary

This is step two of supporting autoupgrade of old bitcode to opaque pointers. Rather than tracking the element type ID of pointers in particular, track all type IDs that a type contains. This allows us to recover the element type in more complex situations, e.g. when we need to determine the pointer element type of a vector element or function type parameter.

Depends on D118694.

Diff Detail

Event Timeline

nikic created this revision.Feb 9 2022, 7:07 AM
nikic requested review of this revision.Feb 9 2022, 7:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2022, 7:07 AM
aeubanks accepted this revision.Feb 14 2022, 12:05 PM
This revision is now accepted and ready to land.Feb 14 2022, 12:05 PM
This revision was landed with ongoing or failed builds.Feb 15 2022, 12:39 AM
This revision was automatically updated to reflect the committed changes.