diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -2849,6 +2849,7 @@ ":ToLLVMIRTranslation", ":LLVMToLLVMIRTranslation", "//llvm:Core", + "//llvm:MC", "//llvm:Support", "//llvm:Target", ] + if_cuda_available([