old_contents: """Provides the repository macro to import LLVM."""
  
  load("//third_party:repo.bzl", "tf_http_archive")
  
  def repo(name):
      """Imports LLVM."""
      LLVM_COMMIT = "135c9b2c4b47679dd978ca5534559ae66ddc0e6e"
      LLVM_SHA256 = "fdb717bde7a309cecae65cf94eddec1dd434834422b34aa2e47a584c392f2c7e"
  
      tf_http_archive(
          name = name,
          sha256 = LLVM_SHA256,
          strip_prefix = "llvm-project-{commit}".format(commit = LLVM_COMMIT),
          urls = [
              "https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
              "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
          ],
          build_file = "//third_party/llvm:llvm.BUILD",
          patch_file = [
              "//third_party/llvm:infer_type.patch",  # TODO(b/231285230): remove once resolved
              "//third_party/llvm:build.patch",
              "//third_party/llvm:toolchains.patch",
              "//third_party/llvm:temporary.patch",  # Cherry-picks and temporary reverts. Do not remove even if temporary.patch is empty.
          ],
          link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
      )
  
new_contents: """Provides the repository macro to import LLVM."""
  
  load("//third_party:repo.bzl", "tf_http_archive")
  
  def repo(name):
      """Imports LLVM."""
      LLVM_COMMIT = "b668de2de2c2216a744454dd5144b35a68698031"
      LLVM_SHA256 = "7e29619c7527589fb313f4b946a06e7a668bf13a19384481f5828bfdb8139d6b"
  
      tf_http_archive(
          name = name,
          sha256 = LLVM_SHA256,
          strip_prefix = "llvm-project-{commit}".format(commit = LLVM_COMMIT),
          urls = [
              "https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
              "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
          ],
          build_file = "//third_party/llvm:llvm.BUILD",
          patch_file = [
              "//third_party/llvm:infer_type.patch",  # TODO(b/231285230): remove once resolved
              "//third_party/llvm:build.patch",
              "//third_party/llvm:toolchains.patch",
              "//third_party/llvm:temporary.patch",  # Cherry-picks and temporary reverts. Do not remove even if temporary.patch is empty.
          ],
          link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
      )
  
subject: Integrate LLVM at llvm/llvm-project@b668de2de2c2