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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "5d938eb6f79b16f55266dd23d5df831f552ea082"
    LLVM_SHA256 = "d0e02ad1680b7b4e86cf50566bb3ac0c7fda7ded484cd2cfeddcf2f8422b0a36"

    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
-5d938eb6f79b16f55266dd23d5df831f552ea082%22%0A    LLVM_SHA256 = %22d0e02ad1680b7b4e86cf50566bb3ac0c7fda7ded484cd2cfeddcf2f8422b0a36
+dabb7514f562a3b5b8b9f360b8ca1f52cc5b741b%22%0A    LLVM_SHA256 = %2284f2c6c5cf89d255ef7576f359ad308fb346be58a29825ee105e1050158726dd
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@dabb7514f562