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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "ea91a8cbab93e6592c918b771942598ad0e9b571"
    LLVM_SHA256 = "a9c2458c83f0976b81c01ede93ae609e32c343816645b773abf3a63784864e7e"

    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
-ea91a8cbab93e6592c918b771942598ad0e9b571%22%0A    LLVM_SHA256 = %22a9c2458c83f0976b81c01ede93ae609e32c343816645b773abf3a63784864e7e
+c5c1ec7945ff2c26f4f9ce5db5ff647ee3f931ab%22%0A    LLVM_SHA256 = %222a60738626617643bb3ef850d2b9f20ccc0388cfdbd25669ac12c84962965df6
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@c5c1ec7945ff