[llvm] [Coroutines] Split buildCoroutineFrame into normalization and frame building (PR #108076)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 18:50:05 PDT 2024


================
@@ -1754,7 +1754,8 @@ static bool willLeaveFunctionImmediatelyAfter(BasicBlock *BB,
   if (depth == 0) return false;
 
   // If this is a suspend block, we're about to exit the resumption function.
-  if (isSuspendBlock(BB)) return true;
+  if (isSuspendBlock(BB))
+    return true;
----------------
ChuanqiXu9 wrote:

nit: generally we don't unrelated changes.

https://github.com/llvm/llvm-project/pull/108076


More information about the llvm-commits mailing list