[PATCH] D88059: [Coroutine] Split PHI Nodes in `cleanuppad` blocks in a way that obeys EH pad rules

Xun Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 13:59:10 PDT 2020


lxfind added inline comments.


================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1238
+        // unwind destination that needs to be handle specially.
+        rewritePHIsForCleanupPad(&BB, CleanupPad);
+        return;
----------------
Could we add an assertion if `BB` is guaranteed to be the unwind dest?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88059/new/

https://reviews.llvm.org/D88059



More information about the llvm-commits mailing list