[llvm] [WIP][TTI] Refactor improveShuffleKindFromMask to match the pattern order of getInstructionCost (PR #151984)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 08:17:46 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 h -- llvm/include/llvm/CodeGen/BasicTTIImpl.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/BasicTTIImpl.h b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
index 4bb975bd3..ade765d50 100644
--- a/llvm/include/llvm/CodeGen/BasicTTIImpl.h
+++ b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -1111,7 +1111,7 @@ public:
// Bail out on undef/identity/widening masks
if (all_of(Mask, [](int M) { return M < 0; }))
- return Kind;
+ return Kind;
// Identity with padding.
if (NumDstElts >= NumSrcElts &&
``````````
</details>
https://github.com/llvm/llvm-project/pull/151984
More information about the llvm-commits
mailing list