old_contents: """Provides the repository macro to import LLVM."""
  
  load("//third_party:repo.bzl", "tf_http_archive")
  
  def repo(name):
      """Imports LLVM."""
      LLVM_COMMIT = "1fd6f06b9e975386f4bb30ce8a1d044abeb1b633"
      LLVM_SHA256 = "c44e02070ec02cac6d7e9975d8b13103ea99348f3d7dd47f029b11b84b66a9e4"
  
      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:macos_build_fix.patch",
          ],
          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 = "6eb0f8e28598658b4f5df27b35a5ea98bad68049"
      LLVM_SHA256 = "0af7ac8ca2be4d22336aef7da18e54e648fd0bbea42167a1864e8604b84d258a"
  
      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:macos_build_fix.patch",
          ],
          link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
      )
  
subject: Integrate LLVM at llvm/llvm-project@6eb0f8e28598