diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel index 4d443e809d55bd..64d36c7b7f664d 100644 --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel @@ -944,7 +944,10 @@ cc_library( srcs = glob([ "lib/IR/*.cpp", "lib/IR/*.h", - ]), + ]) + [ + # To avoid a dependency cycle. + "include/llvm/Analysis/IVDescriptors.h", + ], hdrs = glob( [ "include/llvm/*.h",