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 origin/main HEAD --extensions cpp --
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 2fa6e9c95..f72bb68aa 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -5456,8 +5456,8 @@ AArch64TargetLowering::LowerLOOP_DEPENDENCE_MASK(SDValue
Op,
VT.getVectorElementType().getSimpleVT(), NumElements);
EVT WhileVT = ContainerVT.changeElementType(MVT::i1);
- SDValue Mask =
- DAG.getNode(MaskOpcode, DL, WhileVT, PtrA, PtrB, EltSizeInBytesValue,
Op.getOperand(3));
+ SDValue Mask = DAG.getNode(MaskOpcode, DL, WhileVT, PtrA, PtrB,
+ EltSizeInBytesValue, Op.getOperand(3));
SDValue MaskAsInt = DAG.getNode(ISD::SIGN_EXTEND, DL, ContainerVT, Mask);
return convertFromScalableVector(DAG, VT, MaskAsInt);
}
@@ -5474,8 +5474,8 @@ AArch64TargetLowering::LowerLOOP_DEPENDENCE_MASK(SDValue
Op,
EltSizeInBytes;
SDValue Zero = DAG.getConstant(0, DL, MVT::i64);
- SDValue Low =
- DAG.getNode(MaskOpcode, DL, PartVT, PtrA, PtrB, EltSizeInBytesValue,
Zero);
+ SDValue Low = DAG.getNode(MaskOpcode, DL, PartVT, PtrA, PtrB,
+ EltSizeInBytesValue, Zero);
SDValue High = DAG.getNode(MaskOpcode, DL, PartVT,
DAG.getMemBasePlusOffset(PtrA, PartOffset, DL),
PtrB, EltSizeInBytesValue, Zero);
``````````
</details>
https://github.com/llvm/llvm-project/pull/153187
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits