[llvm] [SLP]Fix/improve minbitwidth mapping to use TreeEntry as a key. (PR #73567)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 13:03:40 PST 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 9e8691962626e62382eb31da6fea49ddbb559750 47a15912eecb24f6a09c62ec1ed69b2b991d06f4 -- 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 e445ee7a0b..cfabae2b78 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -13179,7 +13179,7 @@ bool BoUpSLP::collectValuesToDemote(
return false;
}
-// Gather demoted constant operands.
+ // Gather demoted constant operands.
for (unsigned Idx : seq<unsigned>(Start, End))
if (isa<Constant>(I->getOperand(Idx)))
DemotedConsts.try_emplace(I).first->getSecond().push_back(Idx);
``````````
</details>
https://github.com/llvm/llvm-project/pull/73567
More information about the llvm-commits
mailing list