[llvm] [Mips] Change vsplat_imm_eq_1 to a ComplexPattern. (PR #116471)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 20:41:30 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 6a0905d11ede27f2ac52338dc9d4bcd5c6e8a2f5 b74b044e667ede8983ee95485cec219cbf721fd8 --extensions cpp,h -- llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp llvm/lib/Target/Mips/MipsISelDAGToDAG.h llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp b/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
index 36b6417e92..6d4ab75937 100644
--- a/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
+++ b/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
@@ -616,8 +616,7 @@ selectVSplatSimm5(SDValue N, SDValue &Imm) const {
}
// Select const vector splat of 1.
-bool MipsSEDAGToDAGISel::
-selectVSplatImmEq1(SDValue N) const {
+bool MipsSEDAGToDAGISel::selectVSplatImmEq1(SDValue N) const {
EVT EltTy = N->getValueType(0).getVectorElementType();
if (N->getOpcode() == ISD::BITCAST)
``````````
</details>
https://github.com/llvm/llvm-project/pull/116471
More information about the llvm-commits
mailing list