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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "6144fc2da1b87dc64ff887d73b60f7708f5cb0a4"
    LLVM_SHA256 = "e6fe7c8df75bc1d3fb5f29758431e056406542768dd48333d32675dd4e06f1aa"

    tfrt_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:build_defs.bzl": "mlir/build_defs.bzl",
            "//third_party/mlir:linalggen.bzl": "mlir/linalggen.bzl",
            "//third_party/mlir:tblgen.bzl": "mlir/tblgen.bzl",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -162,133 +162,133 @@
  = %22
-6144fc2da1b87dc64ff887d73b60f7708f5cb0a4%22%0A    LLVM_SHA256 = %22e6fe7c8df75bc1d3fb5f29758431e056406542768d
+edfdb5fcd10779905ef960c8d4aa61d46b57f451%22%0A    LLVM_SHA256 = %22cf3ba31b77e869d58637c786179c05b3c293e980be601e307a0a
 d4
+f
 83
-33d32675dd4e06f1aa
+01d5616
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@edfdb5fcd107