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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "91d3f73937b603b168a2be40f57a81efcc37da86"
    LLVM_SHA256 = "500fe116e7bfc8c50d3ac873211b3700d479d710d9f2ac8171bfa903d085ba5c"

    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
-91d3f73937b603b168a2be40f57a81efcc37da86%22%0A    LLVM_SHA256 = %22500fe116e7bfc8c50d3ac873211b3700d479d710d9f2ac8171bfa903d085ba5c
+caea37b37e6aa8b0c1bb21526ad2d216b46a4b10%22%0A    LLVM_SHA256 = %2291c38b69bfb9cd03b7bbe967d7d75ab7c6a8d289378180b1f30948a8432ec39e
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@caea37b37e6a