[llvm] [Sparc] Remove custom lowering for SMULO / UMULO (PR #100858)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 00:58:45 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 8a28e9df4b90d5d4d3fa08f2af88c6a71eed1116 --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 2f72165814..e20a414d0f 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -3228,7 +3228,8 @@ LowerOperation(SDValue Op, SelectionDAG &DAG) const {
   case ISD::ADDC:
   case ISD::ADDE:
   case ISD::SUBC:
-  case ISD::SUBE:               return LowerADDC_ADDE_SUBC_SUBE(Op, DAG);
+  case ISD::SUBE:
+    return LowerADDC_ADDE_SUBC_SUBE(Op, DAG);
   case ISD::ATOMIC_LOAD:
   case ISD::ATOMIC_STORE:       return LowerATOMIC_LOAD_STORE(Op, DAG);
   case ISD::INTRINSIC_WO_CHAIN: return LowerINTRINSIC_WO_CHAIN(Op, DAG);

``````````

</details>


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


More information about the llvm-commits mailing list