[llvm] [SDAG] Ensure load is included in output chain of sincos expansion (PR #140525)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 03:32:30 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/CodeGen/SelectionDAG/SelectionDAG.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 29808f15c..304ceb53f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2626,7 +2626,7 @@ bool SelectionDAG::expandMultipleResultFPLibCall(
     }
     MachinePointerInfo PtrInfo;
     SDValue LoadResult =
-    getLoad(Node->getValueType(ResNo), DL, CallChain, ResultPtr, PtrInfo);
+        getLoad(Node->getValueType(ResNo), DL, CallChain, ResultPtr, PtrInfo);
     SDValue OutChain = LoadResult.getValue(1);
 
     if (StoreSDNode *ST = ResultStores[ResNo]) {

``````````

</details>


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


More information about the llvm-commits mailing list