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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "5a64bc207ee07d939271ee8631bf28b01e431a46"
    LLVM_SHA256 = "b9e5fb8451619e11357c1d46ed52ca08d1ca5427a9c9134512da6475b1b618d1"

    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"},
    )

@@ -160,133 +160,133 @@
  = %22
-5a64bc207ee07d939271ee8631bf28b01e431a46%22%0A    LLVM_SHA256 = %22b9e5fb8451619e11357c1d46ed52ca08d1ca5427a9c9134512da6475b1b618d1
+1fd6f06b9e975386f4bb30ce8a1d044abeb1b633%22%0A    LLVM_SHA256 = %22c44e02070ec02cac6d7e9975d8b13103ea99348f3d7dd47f029b11b84b66a9e4
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@1fd6f06b9e97