================
@@ -1100,10 +1100,9 @@ void coro::SwitchCloner::create() {
// Clone the function
coro::BaseCloner::create();
- // Eliminate coro.free from the clones, replacing it with 'null' in cleanup,
- // to suppress deallocation code.
- coro::replaceCoroFree(cast<CoroIdInst>(VMap[Shape.CoroBegin->getId()]),
- /*Elide=*/FKind == coro::CloneKind::SwitchCleanup);
----------------
ChuanqiXu9 wrote:
Does this change semantics?
https://github.com/llvm/llvm-project/pull/185336
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits