[llvm] [PowerPC] Add flag to DAG combiner to improve compile time. (PR #86884)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 15:35:11 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 d5f06342a3007f414c783ba42cb49453a9cee835 4d71ff9308fdeda7aa3948f5b9ad23d7032f517e -- 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 a80b0fdc80..f190823380 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -151,10 +151,9 @@ static cl::opt<bool> EnableVectorFCopySignExtendRound(
         "Enable merging extends and rounds into FCOPYSIGN on vector types"));
 
 static cl::opt<bool>
-AddLoadBack("combiner-add-load-back", cl::Hidden,
-            cl::desc("When combining a load are new nodes added back in"),
-            cl::init(true));
-
+    AddLoadBack("combiner-add-load-back", cl::Hidden,
+                cl::desc("When combining a load are new nodes added back in"),
+                cl::init(true));
 
 namespace {
 

``````````

</details>


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


More information about the llvm-commits mailing list