This is an archive of the discontinued LLVM Phabricator instance.

[ObjC][ARC] Share bundle handling code between steps of the ObjCARCOpts pass and cleanup (NFC)
ClosedPublic

Authored by sgraenitz on Nov 14 2022, 6:55 AM.

Details

Summary

Generalize and share code for operand bundle handling. Drop the anonymous namespace (all other helper functions are local static). Rename the existing funclet test for cleanup-pads.

Diff Detail

Event Timeline

sgraenitz created this revision.Nov 14 2022, 6:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 6:55 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
sgraenitz requested review of this revision.Nov 14 2022, 6:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 6:55 AM
dexonsmith resigned from this revision.Nov 14 2022, 9:43 AM
dexonsmith added reviewers: ahatanak, rjmccall.
compnerd accepted this revision.Nov 14 2022, 1:13 PM

The way that this renders in phabricator is terrible. It took a while to figure out the actual code sharing and how this works. This actually makes sense to do though at the end of that. Thanks!

This revision is now accepted and ready to land.Nov 14 2022, 1:13 PM
sgraenitz updated this revision to Diff 483746.Dec 17 2022, 5:30 AM

Rebase for changes in D137944

This revision was landed with ongoing or failed builds.Jan 24 2023, 6:17 AM
This revision was automatically updated to reflect the committed changes.
llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp