[llvm-branch-commits] [GISel] Remove DoNotRun hook from Localizer (PR #217192)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 18 19:00:48 PDT 2026


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 origin/main HEAD --extensions cpp,h -- llvm/include/llvm/CodeGen/GlobalISel/Localizer.h llvm/lib/CodeGen/GlobalISel/Localizer.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/GlobalISel/Localizer.cpp b/llvm/lib/CodeGen/GlobalISel/Localizer.cpp
index 9b8b36d18..a1715f16a 100644
--- a/llvm/lib/CodeGen/GlobalISel/Localizer.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/Localizer.cpp
@@ -33,8 +33,7 @@ INITIALIZE_PASS_END(Localizer, DEBUG_TYPE,
                     "Move/duplicate certain instructions close to their use",
                     false, false)
 
-Localizer::Localizer()
-    : MachineFunctionPass(ID) {}
+Localizer::Localizer() : MachineFunctionPass(ID) {}
 
 void Localizer::init(MachineFunction &MF) {
   MRI = &MF.getRegInfo();

``````````

</details>


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


More information about the llvm-branch-commits mailing list