[llvm] [lld][LTO] Teach LTO to print pipeline passes (PR #101018)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 12:57:21 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 2c376fe96c83443c15e6485d043ebe321904546b 08c24724c395e925c2d2ed043140bb370c3c679e --extensions h,cpp -- llvm/include/llvm/Passes/PassBuilder.h llvm/lib/LTO/LTOBackend.cpp llvm/tools/llc/NewPMDriver.cpp llvm/tools/opt/NewPMDriver.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Passes/PassBuilder.h b/llvm/include/llvm/Passes/PassBuilder.h
index e1d78a8685..6935ca0536 100644
--- a/llvm/include/llvm/Passes/PassBuilder.h
+++ b/llvm/include/llvm/Passes/PassBuilder.h
@@ -947,7 +947,6 @@ public:
 
 /// Common option used by multiple tools to print pipeline passes
 extern cl::opt<bool> PrintPipelinePasses;
-
 }
 
 #endif

``````````

</details>


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


More information about the llvm-commits mailing list