[llvm] [x86] Enable indirect tail calls with more arguments (PR #137643)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 28 07:51:48 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index 7d6359f70..e81b17e73 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -907,7 +907,8 @@ static bool isCalleeLoad(SDValue Callee, SDValue &Chain, bool HasCallSeq) {
     if (!Chain.getNumOperands())
       return false;
     // Since we are not checking for AA here, conservatively abort if the chain
-    // writes to memory. It's not safe to move the callee (a load) across a store.
+    // writes to memory. It's not safe to move the callee (a load) across a
+    // store.
     if (isa<MemSDNode>(Chain.getNode()) &&
         cast<MemSDNode>(Chain.getNode())->writeMem())
       return false;

``````````

</details>


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


More information about the llvm-commits mailing list