[llvm] [SandboxVec] Move seed selection into its own separate pass (PR #127132)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 14:08:41 PST 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 c9ba2b08d57fb682d4fe9ab2dd6f14d464b081df f20dc7ac5b04b3989f5d58270c5ebfe92847fbc3 --extensions cpp,h -- llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.h llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.cpp llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.cpp llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerPassBuilder.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.cpp b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.cpp
index fd2854f042..f46d746500 100644
--- a/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.cpp
+++ b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.cpp
@@ -6,10 +6,10 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.h"
 #include "llvm/Analysis/TargetTransformInfo.h"
 #include "llvm/SandboxIR/Module.h"
 #include "llvm/SandboxIR/Region.h"
-#include "llvm/Transforms/Vectorize/SandboxVectorizer/Passes/SeedSelection.h"
 #include "llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerPassBuilder.h"
 #include "llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h"
 #include "llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h"

``````````

</details>


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


More information about the llvm-commits mailing list