[llvm] [Sparc] Remove custom lowering for ADD[CE] / SUB[CE] (PR #100861)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 01:34:23 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 fe07d9aa410518c5b631a065ddc5782a623af030 60d3467f2287dfb15358aa867647d4052063224f --extensions cpp -- llvm/lib/Target/Sparc/SparcISelLowering.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index 41aa2dcffe..6ba74651d5 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -3229,7 +3229,8 @@ LowerOperation(SDValue Op, SelectionDAG &DAG) const {
   case ISD::FABS:
   case ISD::FNEG:               return LowerFNEGorFABS(Op, DAG, isV9);
   case ISD::FP_EXTEND:          return LowerF128_FPEXTEND(Op, DAG, *this);
-  case ISD::FP_ROUND:           return LowerF128_FPROUND(Op, DAG, *this);
+  case ISD::FP_ROUND:
+    return LowerF128_FPROUND(Op, DAG, *this);
   case ISD::UMULO:
   case ISD::SMULO:              return LowerUMULO_SMULO(Op, DAG, *this);
   case ISD::ATOMIC_LOAD:

``````````

</details>


https://github.com/llvm/llvm-project/pull/100861


More information about the llvm-commits mailing list