[ObjC][ARC] Share bundle handling code between steps of the ObjCARCOpts pass and...
authorStefan Gränitz <stefan.graenitz@gmail.com>
Tue, 24 Jan 2023 10:39:25 +0000 (11:39 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Tue, 24 Jan 2023 14:17:18 +0000 (15:17 +0100)
commit13a85a78cfea78af908300b3e8993b57da83921f
tree4c4a3e582b85ef353b20e32773748989d7f37aed
parentd9eece916a8a9b370e1f90e6461c612d12c55729
[ObjC][ARC] Share bundle handling code between steps of the ObjCARCOpts pass and cleanup (NFC)

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.

Reviewed By: compnerd

Differential Revision: https://reviews.llvm.org/D137945
llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
llvm/test/Transforms/ObjCARC/funclet-cleanuppad.ll [moved from llvm/test/Transforms/ObjCARC/funclet.ll with 100% similarity]