[llvm] [SLP][REVEC] SubVectorsMask should be transformed into vector form. (PR #120398)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 02:15:04 PST 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 96bb281b636a30f5896c48035cca55807f105a56 3cd9b2bc2ae541e6667bac6faade5f224ca11807 --extensions cpp -- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 69fafacf13..b02bc0030d 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -14267,7 +14267,8 @@ public:
transformScalarShuffleIndiciesToVector(ScalarTyNumElements, CommonMask);
transformScalarShuffleIndiciesToVector(ScalarTyNumElements, NewExtMask);
ExtMask = NewExtMask;
- transformScalarShuffleIndiciesToVector(ScalarTyNumElements, NewSubVectorsMask);
+ transformScalarShuffleIndiciesToVector(ScalarTyNumElements,
+ NewSubVectorsMask);
SubVectorsMask = NewSubVectorsMask;
}
if (Action) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/120398
More information about the llvm-commits
mailing list