[llvm] Reapply "[coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (#90265) (PR #91372)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 11:21:57 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 873431a68a3aa3ec4fed5d2dc98ef527230b0d21 e4c029f1f906960416e285231fc3f023b4f1e55c -- llvm/include/llvm/Analysis/CFG.h llvm/lib/Analysis/CFG.cpp llvm/lib/Transforms/Coroutines/CoroFrame.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Analysis/CFG.cpp b/llvm/lib/Analysis/CFG.cpp
index 57fb529fad..6c62e14ec9 100644
--- a/llvm/lib/Analysis/CFG.cpp
+++ b/llvm/lib/Analysis/CFG.cpp
@@ -236,7 +236,7 @@ bool llvm::isManyPotentiallyReachableFromMany(
     StopLoops[StopBB] = LI ? getOutermostLoop(LI, StopBB) : nullptr;
 
   unsigned Limit = DefaultMaxBBsToExplore;
-  SmallPtrSet<const BasicBlock*, 32> Visited;
+  SmallPtrSet<const BasicBlock *, 32> Visited;
   do {
     BasicBlock *BB = Worklist.pop_back_val();
     if (!Visited.insert(BB).second)

``````````

</details>


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


More information about the llvm-commits mailing list