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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "72b18a86e11ebc970be96a8c2b11aa3a31c14c5d"
    LLVM_SHA256 = "f201b3b057093a622f52c86e6dbbd9ab846538e218e4e2396c63c10b8562e401"

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

@@ -160,133 +160,133 @@
  = %22
-72b18a86e11ebc970be96a8c2b11aa3a31c14c5d%22%0A    LLVM_SHA256 = %22f201b3b057093a622f52c86e6dbbd9ab846538e218e4e2396c63c10b8562e401
+5077d42cfa427598826eb7b69ad805bad8f4ec9d%22%0A    LLVM_SHA256 = %22935258a5213d282f8194e31e3f9855331685a6c8c470d3a16002193111290dbc
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@5077d42cfa42