This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Use Aliasee to determine Type and AddrSpace in GlobalAlias::create()
ClosedPublic

Authored by aeubanks on May 1 2021, 9:47 PM.

Details

Summary

As opposed to going through the Aliasee type.

For opaque pointers, we're trying to remove uses of PointerType::getElementType().

Diff Detail

Event Timeline

aeubanks created this revision.May 1 2021, 9:47 PM
aeubanks requested review of this revision.May 1 2021, 9:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2021, 9:47 PM
dblaikie accepted this revision.May 2 2021, 9:55 AM

Looks good!

This revision is now accepted and ready to land.May 2 2021, 9:55 AM