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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "f46f93b4786377dd7ee704ef2beedadfe4f05adf"
    LLVM_SHA256 = "7235b032f2dd06cfaeae625eaed1a75bee5a368859198a04c4f53daa176b851f"

    tfrt_http_archive(
        name = name,
        build_file = "//third_party/llvm:BUILD",
        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),
        ],
    )

@@ -162,133 +162,133 @@
  = %22
-f
 46
-f93b4786377dd7ee704ef2beedadfe4f05adf%22%0A    LLVM_SHA256 = %227235b032f2dd06cfaeae625eaed1a75bee5a368859198a04c4f53daa176b851f
+02f52d482c5752d6a4c13108f29f0be39598c8%22%0A    LLVM_SHA256 = %22b54d0c13fce00273fc36c348a95c49f15d63057a610b83f0ba221326fbba8e02
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@4602f52d482c