Skip to content

Conversation

@mikhailramalho
Copy link
Member

No description provided.

Signed-off-by: Mikhail R. Gadelha <[email protected]>
@mikhailramalho mikhailramalho changed the title wip [RISCV] Support vec_reduce_* for f16 Sep 19, 2024
@github-actions
Copy link

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
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
View the diff from clang-format here.
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) {

@mikhailramalho mikhailramalho deleted the vec-red-f16 branch March 21, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant