[llvm] StructurizeCFG: Optimize phi insertion during ssa reconstruction (PR #101301)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 19:31:59 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 9c51e518034027061050b5c7faefc01900c070d4 e361a7b007653da16d712b180f9693ef3d5a5b84 --extensions cpp -- llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp b/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
index 90cd2c01da..f173d9ca9b 100644
--- a/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
@@ -257,7 +257,6 @@ class StructurizeCFG {
   BBPhiMap DeletedPhis;
   BB2BBVecMap AddedPhis;
 
-
   PredMap Predicates;
   BranchVector Conditions;
 

``````````

</details>


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


More information about the llvm-commits mailing list