old_contents: """Provides the repository macro to import LLVM."""
  
  load("//third_party:repo.bzl", "tf_http_archive")
  
  def repo(name):
      """Imports LLVM."""
      LLVM_COMMIT = "e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b"
      LLVM_SHA256 = "5189444fde4154186fa6111ed8fe31c97cece36f7273be7f635e55f26a58b3c3"
  
      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:macos_build_fix.patch",
              "//third_party/llvm:fix_ppc64le.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 = "817550919e78ba9bb8336685fe1f40e4f650b2e4"
      LLVM_SHA256 = "e51b5e8f8333e921a38d10fdd0d49a9c0f1a77fc2e4a8d201af302a338a7fb48"
  
      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:macos_build_fix.patch",
              "//third_party/llvm:fix_ppc64le.patch",
          ],
          link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
      )
  
subject: Integrate LLVM at llvm/llvm-project@817550919e78