[PATCH] D44327: ObjCARC: teach the cloner about funclets
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 9 14:35:05 PST 2018
majnemer added inline comments.
================
Comment at: lib/Transforms/ObjCARC/ObjCARCOpts.cpp:701
+
+ if (auto *CleanupPad = dyn_cast<CleanupPadInst>(BB.getFirstNonPHI()))
+ OpBundles.emplace_back("funclet", CleanupPad);
----------------
What if the cleanuppad was introduced in a block which branched to this one?
Repository:
rC Clang
https://reviews.llvm.org/D44327
More information about the cfe-commits
mailing list