[llvm] [RISCV] Support vec_reduce_* for f16 (PR #109292)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 07:43:37 PDT 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 aa43f3abe0e9a7199a8df3f71364d7084f968825 79e2724dac02fa9d5ae65206b14d1b3d5e4d7aad --extensions cpp,h -- llvm/include/llvm/CodeGen/TargetLowering.h llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp llvm/lib/Target/RISCV/RISCVISelLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index dbdb0607cf..dea1ee03b0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -539,7 +539,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
LLVM_DEBUG(dbgs() << "\nLegalizing vector op: "; Node->dump(&DAG));
if (Node->getOpcode() == ISD::VECREDUCE_FADD)
- Action = TargetLowering::Legal;
+ Action = TargetLowering::Legal;
SmallVector<SDValue, 8> ResultVals;
switch (Action) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/109292
More information about the llvm-commits
mailing list