[llvm] Improvements to RS4GC BDV Algorithm (PR #69795)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 07:57:44 PDT 2023


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 6456e0bbbbd7c8c2783c09a426d4fb1de1d87e6e 9ea59257dae39b9e5d65e33fbe163f2a951176fb -- llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index f8af6a1d941d..b5650f97e349 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -1039,8 +1039,8 @@ static Value *findBasePointer(Value *I, DefiningValueMapTy &Cache,
     // EE mixes vector and scalar so is always conflict
     if (isa<ExtractElementInst>(I))
       return true;
-    // Shuffle vector is always a conflict as it creates new vector from existing
-    // ones.
+    // Shuffle vector is always a conflict as it creates new vector from
+    // existing ones.
     if (isa<ShuffleVectorInst>(I))
       return true;
     // any other insns that change from vector to scalar are marked to be on

``````````

</details>


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


More information about the llvm-commits mailing list