Skip to content

[bazel] Add //mlir:IR to Support for #144897 #145569

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
Jun 24, 2025
Merged

[bazel] Add //mlir:IR to Support for #144897 #145569

merged 1 commit into from
Jun 24, 2025

Conversation

itf
Copy link
Contributor

@itf itf commented Jun 24, 2025

PR #144897 added #include "mlir/IR/Visitors.h" to mlir/include/mlir/Support/StateStack.h. This change fixes the build file.

PR llvm#144897 added #include "mlir/IR/Visitors.h" to mlir/include/mlir/Support/StateStack.h. This change fixes the build file.
@llvmbot llvmbot added the bazel "Peripheral" support tier build system: utils/bazel label Jun 24, 2025
@itf itf merged commit de569ad into llvm:main Jun 24, 2025
9 checks passed
DrSergei pushed a commit to DrSergei/llvm-project that referenced this pull request Jun 24, 2025
PR llvm#144897 added #include
"mlir/IR/Visitors.h" to mlir/include/mlir/Support/StateStack.h. This
change fixes the build file.
deps = ["//llvm:Support"],
deps = [
"//llvm:Support"
"//mlir:IR",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I'm wrong here, but doesn't this introduce a cycle? The IR target already depends on Support which then depends on the IR target again. Is there any way to refactor to avoid the cyclic dependency here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cycle already existed. Being fixed on #145598

anthonyhatran pushed a commit to anthonyhatran/llvm-project that referenced this pull request Jun 26, 2025
PR llvm#144897 added #include
"mlir/IR/Visitors.h" to mlir/include/mlir/Support/StateStack.h. This
change fixes the build file.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants