[llvm] [VectorCombine] Add initial nodes to the Worklist in VectorCombine (PR #149047)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 02:42:38 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Transforms/Vectorize/VectorCombine.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
index 3c7101c9f..9d7d2d00e 100644
--- a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+++ b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -3803,7 +3803,7 @@ bool VectorCombine::run() {
     }
   };
 
-  SmallVector<Instruction*, 128> InstrsForInstructionWorklist;
+  SmallVector<Instruction *, 128> InstrsForInstructionWorklist;
   for (BasicBlock &BB : F) {
     // Ignore unreachable basic blocks.
     if (!DT.isReachableFromEntry(&BB))

``````````

</details>


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


More information about the llvm-commits mailing list