This is an archive of the discontinued LLVM Phabricator instance.

[NFC][IR] Make Module::getNamedMDList() private
ClosedPublic

Authored by vporpo on Feb 13 2023, 5:50 PM.

Details

Summary

This patch adds several missing NamedMDList modifier functions, like
removeNamedMDNode(), eraseNamedMDNode() and insertNamedMDNode().
There is no longer need to access the list directly so it also makes
getNamedMDList() private.

Diff Detail

Event Timeline

vporpo created this revision.Feb 13 2023, 5:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 5:50 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.Feb 13 2023, 5:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 5:50 PM
aeubanks accepted this revision.Feb 13 2023, 7:09 PM
This revision is now accepted and ready to land.Feb 13 2023, 7:09 PM
This revision was landed with ongoing or failed builds.Feb 14 2023, 11:42 AM
This revision was automatically updated to reflect the committed changes.