[llvm] [CodeGen] Port `SjLjEHPrepare` to new pass manager (PR #75023)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 10 20:36:00 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 fc715e4cd942612a091097339841733757b53824 7b282b074356fa3244bc07a4702c0e19b1924b71 -- llvm/include/llvm/CodeGen/SjLjEHPrepare.h llvm/include/llvm/CodeGen/CodeGenPassBuilder.h llvm/lib/CodeGen/SjLjEHPrepare.cpp llvm/lib/CodeGen/WinEHPrepare.cpp llvm/lib/Passes/PassBuilder.cpp llvm/tools/opt/opt.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp
index 15930d8d92..bd14e8104a 100644
--- a/llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/llvm/lib/CodeGen/WinEHPrepare.cpp
@@ -120,8 +120,8 @@ PreservedAnalyses WinEHPreparePass::run(Function &F,
}
char WinEHPrepare::ID = 0;
-INITIALIZE_PASS(WinEHPrepare, DEBUG_TYPE, "Prepare Windows exceptions",
- false, false)
+INITIALIZE_PASS(WinEHPrepare, DEBUG_TYPE, "Prepare Windows exceptions", false,
+ false)
FunctionPass *llvm::createWinEHPass(bool DemoteCatchSwitchPHIOnly) {
return new WinEHPrepare(DemoteCatchSwitchPHIOnly);
``````````
</details>
https://github.com/llvm/llvm-project/pull/75023
More information about the llvm-commits
mailing list