diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel @@ -1755,6 +1755,7 @@ "//llvm:BitReader", "//llvm:BitWriter", "//llvm:BitstreamReader", + "//llvm:CodeGen", "//llvm:CodeGenTypes", "//llvm:Core", "//llvm:Coroutines", diff --git a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel @@ -770,6 +770,7 @@ deps = [ "//llvm:AllTargetsCodeGens", "//llvm:AllTargetsDisassemblers", + "//llvm:CodeGen", "//llvm:CodeGenTypes", "//llvm:Exegesis", "//llvm:MC",