diff --git a/compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel b/compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel index 0bb252c151dc..e751347ce2b6 100644 --- a/compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel +++ b/compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel @@ -55,8 +55,8 @@ iree_compiler_cc_library( ":PassesIncGen", "//compiler/src/iree/compiler/Codegen/Common/CPU:CommonCPUPasses", "//compiler/src/iree/compiler/Dialect/Flow/Transforms", - "//compiler/src/iree/compiler/Dialect/HAL/Dialect", "//compiler/src/iree/compiler/Dialect/HAL/IR", + "//compiler/src/iree/compiler/Dialect/HAL/IR:HALDialect", "//compiler/src/iree/compiler/Dialect/Util/Transforms", "//compiler/src/iree/compiler/Pipelines:Options", "//compiler/src/iree/compiler/Utils", diff --git a/compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt b/compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt index 809bc40af83b..7921d385d613 100644 --- a/compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt +++ b/compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt @@ -53,8 +53,8 @@ iree_cc_library( MLIRTransforms iree::compiler::Codegen::Common::CPU::CommonCPUPasses iree::compiler::Dialect::Flow::Transforms - iree::compiler::Dialect::HAL::Dialect iree::compiler::Dialect::HAL::IR + iree::compiler::Dialect::HAL::IR::HALDialect iree::compiler::Dialect::Util::Transforms iree::compiler::Pipelines::Options iree::compiler::Utils