"""Provides the repository macro to import LLVM."""

load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "483efc9ad04dccd9f2163c84c2b6198ebb7049a6"
    LLVM_SHA256 = "620d3ae0fd3547e4cbd5692994b9b35e0f785c562ae6be466b87d99e2da65093"

    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:macos_build_fix.patch", "//third_party/llvm:fix_ppc64le.patch", "//third_party/llvm:disable_typeid_check.patch"],
        link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
    )

@@ -160,133 +160,133 @@
  = %22
-483efc9ad04dccd9f2163c84c2b6198ebb7049a6%22%0A    LLVM_SHA256 = %22620d3ae0fd3547e4cbd5692994b9b35e0f785c562ae6be466b87d99e2da65093
+15fc293b11181177c9410e8715c2186bbe1390ed%22%0A    LLVM_SHA256 = %224a5be58eb1e3fe039c4a3bfc46c4a8dcdabfbd3dafc485df17e9410bb9c3749a
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@15fc293b1118