[llvm] [AMDGPU] Respect existing glue when lowering convergence tokens (PR #90834)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 01:35:49 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 c32a4f83b59c4293f0b91503ed217371ae1ab543 ca8e42f1eb87184d15df73f7789cc2ce76befe6b -- llvm/lib/Target/AMDGPU/SIISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 68dffdf806..efcabdf8e4 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -3865,8 +3865,9 @@ SDValue SITargetLowering::LowerCall(CallLoweringInfo &CLI,
     if (InGlue.getNode())
       GlueOps.push_back(InGlue);
 
-    InGlue = SDValue(DAG.getMachineNode(TargetOpcode::CONVERGENCECTRL_GLUE,
-                                       DL, MVT::Glue, GlueOps), 0);
+    InGlue = SDValue(DAG.getMachineNode(TargetOpcode::CONVERGENCECTRL_GLUE, DL,
+                                        MVT::Glue, GlueOps),
+                     0);
   }
 
   if (InGlue.getNode())

``````````

</details>


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


More information about the llvm-commits mailing list