[llvm] [SLP]Remove ExtraArgs from reductions. (PR #99923)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 12:30:36 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 9da221d15ff7baa786031a855f1aa40de63dd8cb 0312a35f9205c3fb90834f0f5db3fcc50c765977 --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 258195b8bc..b1a91ef209 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -17178,10 +17178,9 @@ public:
// Initialize the final value in the reduction.
return Res;
};
- bool AnyBoolLogicOp =
- any_of(ReductionOps.back(), [](Value *V) {
- return isBoolLogicOp(cast<Instruction>(V));
- });
+ bool AnyBoolLogicOp = any_of(ReductionOps.back(), [](Value *V) {
+ return isBoolLogicOp(cast<Instruction>(V));
+ });
SmallDenseSet<Value *> IgnoreList(ReductionOps.size() *
ReductionOps.front().size());
for (ReductionOpsType &RdxOps : ReductionOps)
``````````
</details>
https://github.com/llvm/llvm-project/pull/99923
More information about the llvm-commits
mailing list