[llvm] [NewPM] Remove SimpleLoopUnswitchLegacyPass (PR #72934)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 17:09:29 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 2ca028ce7c6de5f1350440012355a65383b8729a 797778af351878111f11c5972be4fa321bffc082 -- llvm/include/llvm/InitializePasses.h llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h llvm/lib/Transforms/Scalar/Scalar.cpp llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/InitializePasses.h b/llvm/include/llvm/InitializePasses.h
index f750157850..7abd6d4638 100644
--- a/llvm/include/llvm/InitializePasses.h
+++ b/llvm/include/llvm/InitializePasses.h
@@ -291,7 +291,7 @@ void initializeScavengerTestPass(PassRegistry&);
 void initializeScopedNoAliasAAWrapperPassPass(PassRegistry&);
 void initializeSeparateConstOffsetFromGEPLegacyPassPass(PassRegistry &);
 void initializeShadowStackGCLoweringPass(PassRegistry&);
-void initializeShrinkWrapPass(PassRegistry&);
+void initializeShrinkWrapPass(PassRegistry &);
 void initializeSingleLoopExtractorPass(PassRegistry&);
 void initializeSinkingLegacyPassPass(PassRegistry&);
 void initializeSjLjEHPreparePass(PassRegistry&);

``````````

</details>


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


More information about the llvm-commits mailing list