[llvm] Topodagworklistx86 (PR #77475)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 06:08:09 PST 2024


Amaury =?utf-8?q?Séchet?= <deadalnix at gmail.com>,
Amaury =?utf-8?q?Séchet?= <deadalnix at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/77475 at github.com>


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 c1ed45a271145acbfad81d87706aeebf361809c3 de8c13d68fe11356afc9a3b975cdf55ef2aa3a27 -- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 4cb7d5db1d..2d017a49c3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3622,20 +3622,14 @@ static SDValue combineCarryDiamond(SelectionDAG &DAG, const TargetLowering &TLI,
     return SDValue();
 
   SDLoc DL(N);
-  SDValue Merged =
-      DAG.getNode(NewOp, DL, Carry1->getVTList(), A, B, CarryIn);
-
-  LLVM_DEBUG(
-    dbgs() << "Combine carry diamond:\n";
-    dbgs() << "\tCarry0: "; Carry0->dump();
-    dbgs() << "\tX: "; X->dump();
-    dbgs() << "\tY: "; Y->dump();
-    dbgs() << "\tCarry1: "; Carry1->dump();
-    dbgs() << "\tA: "; A->dump();
-    dbgs() << "\tB: "; B->dump();
-    dbgs() << "\tCarryIn: "; CarryIn->dump();
-    dbgs() << "\tMerged: "; Merged->dump();
-    dbgs() << "\n");
+  SDValue Merged = DAG.getNode(NewOp, DL, Carry1->getVTList(), A, B, CarryIn);
+
+  LLVM_DEBUG(dbgs() << "Combine carry diamond:\n"; dbgs() << "\tCarry0: ";
+             Carry0->dump(); dbgs() << "\tX: "; X->dump(); dbgs() << "\tY: ";
+             Y->dump(); dbgs() << "\tCarry1: "; Carry1->dump();
+             dbgs() << "\tA: "; A->dump(); dbgs() << "\tB: "; B->dump();
+             dbgs() << "\tCarryIn: "; CarryIn->dump(); dbgs() << "\tMerged: ";
+             Merged->dump(); dbgs() << "\n");
 
   // Please note that because we have proven that the result of the UADDO/USUBO
   // of A and B feeds into the UADDO/USUBO that does the carry/borrow in, we can

``````````

</details>


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


More information about the llvm-commits mailing list