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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "dcccb2f59401f309d75b9d80afed443464c50d9d"
    LLVM_SHA256 = "35d618a6141026c295cc71ab3920afc675af6f483459319f6d6abb19e9675f6f"

    tf_http_archive(
        name = name,
        sha256 = LLVM_SHA256,
        strip_prefix = "llvm-project-" + 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),
        ],
        link_files = {
            "//third_party/llvm:llvm.autogenerated.BUILD": "llvm/BUILD",
            "//third_party/mlir:BUILD": "mlir/BUILD",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -161,132 +161,132 @@
 = %22d
-cccb2f59401f309d75b9d80afed443464c50d9d%22%0A    LLVM_SHA256 = %2235d618a6141026c295cc71ab3920afc675af6f483459319f6d6abb19e9675f6f
+07f43641f98a8e0024cf8e94ef98c7c912221d9%22%0A    LLVM_SHA256 = %22c2c0aefbdb6f242deac345ca84cb445e3caa9a1653652505d0712f22369a7bb2
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@d07f43641f98