[llvm] [AArch64][SVE] Add partial reduction SDNodes (PR #117185)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 04:18:41 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 5d32a1409df0df39357557df0363196eba08f0fc ea225c5b9833e297f77b2052456ff5bc6eb417d5 --extensions h,cpp -- llvm/include/llvm/CodeGen/ISDOpcodes.h llvm/include/llvm/CodeGen/SelectionDAG.h llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````
</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 a34d7c6d81..40e879d396 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -21846,7 +21846,8 @@ performPartialReduceAddCombine(SDNode *N, SelectionDAG &DAG,
return Dot;
if (auto WideAdd = tryLowerPartialReductionToWideAdd(N, Subtarget, DAG))
return WideAdd;
- return DAG.expandPartialReduceAdd(SDLoc(N), N->getOperand(0), N->getOperand(1));
+ return DAG.expandPartialReduceAdd(SDLoc(N), N->getOperand(0),
+ N->getOperand(1));
}
static SDValue performIntrinsicCombine(SDNode *N,
``````````
</details>
https://github.com/llvm/llvm-project/pull/117185
More information about the llvm-commits
mailing list