diff options
author | Christian Sigg <csigg@google.com> | 2023-05-01 12:04:32 +0200 |
---|---|---|
committer | Christian Sigg <csigg@google.com> | 2023-05-01 12:46:39 +0200 |
commit | 896af9e48da49b4c1f21e14d7e656c765e6bc581 (patch) | |
tree | 24153f073ed39cff8106d662c28b2212b4b57659 /utils | |
parent | 5e74a3dc2da879d98204f2360e2e33571b93b91b (diff) | |
download | llvm-896af9e48da49b4c1f21e14d7e656c765e6bc581.tar.gz |
[bazel] Fix layering check after 0610e2f
`BytecodeWriter.h` is now included in `IR.h`, and the corresponding dependency should be moved to `header_deps`. This change fixes Google's internal build, which seems to have a stricter layering check than bazel's, but it's still the right thing to do.
Differential Revision: https://reviews.llvm.org/D149576
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index dfa8f43ab439..7ed2f9ade937 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -372,6 +372,7 @@ mlir_c_api_cc_library( "include/mlir/CAPI/Wrap.h", ], header_deps = [ + ":BytecodeWriter", ":IR", ":Pass", ":Support", @@ -380,7 +381,6 @@ mlir_c_api_cc_library( includes = ["include"], deps = [ ":AsmParser", - ":BytecodeWriter", ":ConversionPassIncGen", ":FuncDialect", ":InferTypeOpInterface", |