[llvm] [Cygwin] Cygwin X86ISelDAGToDAG.cpp (PR #76284)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 23 10:50:55 PST 2023


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 f49e2b05bf3ececa2fe20c5d658ab92ab974dc36 ed11ebba4b3e714feda1d6decfa355d32dabff78 -- 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 8eb4e4ac44..103b13a426 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -2952,7 +2952,7 @@ bool X86DAGToDAGISel::selectMOV64Imm32(SDValue N, SDValue &Imm) {
       return TM.getCodeModel() == CodeModel::Small;
 
     std::optional<ConstantRange> CR =
-      cast<GlobalAddressSDNode>(N)->getGlobal()->getAbsoluteSymbolRange();
+        cast<GlobalAddressSDNode>(N)->getGlobal()->getAbsoluteSymbolRange();
     if (!CR)
       return TM.getCodeModel() == CodeModel::Small;
 

``````````

</details>


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


More information about the llvm-commits mailing list