This is an archive of the discontinued LLVM Phabricator instance.

[llvm] Replace uses of Type::getPointerTo (NFC)
ClosedPublic

Authored by JOE1994 on Jun 27 2023, 6:41 PM.

Details

Summary

Partial progress towards removing in-tree uses of Type::getPointerTo,
before we can deprecate the API.

If the API is used solely to support an unnecessary bitcast, get rid of
the bitcast as well.

Diff Detail

Event Timeline

JOE1994 created this revision.Jun 27 2023, 6:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 6:41 PM
Herald added subscribers: Enna1, pmatos, asb and 10 others. · View Herald Transcript
JOE1994 requested review of this revision.Jun 27 2023, 6:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 6:41 PM
nikic accepted this revision.Jun 28 2023, 12:27 AM

LGTM

This revision is now accepted and ready to land.Jun 28 2023, 12:27 AM
This revision was automatically updated to reflect the committed changes.