[llvm] [Passes] Generalize ShouldRunExtraVectorPasses to allow re-use (NFCI). (PR #118323)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 05:11:39 PST 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 356df2dd72e8299b5de58e9390283110c19f7c76 ab0587462b4a6bedfdebf708bd864275b5a387e0 --extensions cpp,h -- llvm/include/llvm/Transforms/Utils/ExtraPassManager.h llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h llvm/lib/IR/PassManager.cpp llvm/lib/Passes/PassBuilder.cpp llvm/lib/Passes/PassBuilderPipelines.cpp llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index f497b10af3..bf8f7906d3 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -160,4 +160,3 @@ void llvm::printIRUnitNameForStackTrace<Function>(raw_ostream &OS,
AnalysisSetKey CFGAnalyses::SetKey;
AnalysisSetKey PreservedAnalyses::AllAnalysesKey;
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/118323
More information about the llvm-commits
mailing list