[llvm] [CodeGen] Port GlobalMerge to new pass manager (PR #77474)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 06:03:14 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 a529b6eaf05d24518bbe0f0a5539c378252d2671 69667566fe30fff0c43e1e6e3fe3dc51bf74274a -- llvm/include/llvm/CodeGen/GlobalMerge.h llvm/include/llvm/CodeGen/CodeGenPassBuilder.h llvm/lib/CodeGen/GlobalMerge.cpp llvm/lib/Passes/PassBuilder.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
index 86020a106d..7f82c5fea7 100644
--- a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
+++ b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
@@ -28,7 +28,7 @@
#include "llvm/CodeGen/ExpandMemCmp.h"
#include "llvm/CodeGen/ExpandReductions.h"
#include "llvm/CodeGen/GCMetadata.h"
-#include "llvm/CodeGen/GlobalMerge.h"
+#include "llvm/CodeGen/GlobalMerge.h"
#include "llvm/CodeGen/IndirectBrExpand.h"
#include "llvm/CodeGen/InterleavedAccess.h"
#include "llvm/CodeGen/InterleavedLoadCombine.h"
diff --git a/llvm/include/llvm/CodeGen/GlobalMerge.h b/llvm/include/llvm/CodeGen/GlobalMerge.h
index dcbfb12997..a16b709c3f 100644
--- a/llvm/include/llvm/CodeGen/GlobalMerge.h
+++ b/llvm/include/llvm/CodeGen/GlobalMerge.h
@@ -1,4 +1,5 @@
-//===- llvm/CodeGen/GlobalMerge.h --------------------------------*- C++ -*-===//
+//===- llvm/CodeGen/GlobalMerge.h --------------------------------*- C++
+//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
``````````
</details>
https://github.com/llvm/llvm-project/pull/77474
More information about the llvm-commits
mailing list