Skip to content

Proper BUILD.bazel fix due to c07e1e3 #130962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

bartchr808
Copy link
Contributor

No description provided.

@bartchr808 bartchr808 marked this pull request as ready for review March 12, 2025 13:38
@bartchr808 bartchr808 merged commit c6e88b2 into llvm:main Mar 12, 2025
7 of 8 checks passed
@llvmbot llvmbot added bazel "Peripheral" support tier build system: utils/bazel llvm:adt labels Mar 12, 2025
@llvmbot
Copy link
Member

llvmbot commented Mar 12, 2025

@llvm/pr-subscribers-llvm-adt

Author: Bart Chrzaszcz (bartchr808)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/130962.diff

2 Files Affected:

  • (modified) llvm/include/llvm/ADT/GenericUniformityImpl.h (+3-1)
  • (modified) utils/bazel/llvm-project-overlay/llvm/BUILD.bazel (-1)
diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h
index 51e9ac30391fe..d10355fff1bea 100644
--- a/llvm/include/llvm/ADT/GenericUniformityImpl.h
+++ b/llvm/include/llvm/ADT/GenericUniformityImpl.h
@@ -51,13 +51,15 @@
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/SparseBitVector.h"
 #include "llvm/ADT/StringExtras.h"
-#include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Support/raw_ostream.h"
 
 #define DEBUG_TYPE "uniformity"
 
 namespace llvm {
 
+// Forward decl from llvm/CodeGen/MachineInstr.h
+class MachineInstr;
+
 /// Construct a specially modified post-order traversal of cycles.
 ///
 /// The ModifiedPO is contructed using a virtually modified CFG as follows:
diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index fb38861443eee..ef80af43c216b 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -1208,7 +1208,6 @@ cc_library(
     ]),
     deps = [
         ":BinaryFormat",
-        ":CodeGen",
         ":Core",
         ":Object",
         ":ProfileData",

frederik-h pushed a commit to frederik-h/llvm-project that referenced this pull request Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel llvm:adt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants